How can we use plantuml UML tool in iPython notebook? It should helpful for us since UML figure is frequently used during paper work.
After some google from internet, I
There is a PlantUML cell magic package. Please refer to iPlantUML@PyPi
After installation (pip install iplantuml
) follow package introduction, you can create plantUML code in jupyterlab as follow:
Import package first,
import iplantuml
use cell magic:
%%plantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
then show a diagram in cell output as: