Demo of the plantuml magics example posted on stack overflow to enable plantuml users to create inline UML diagrams.

note python module on original stack overflow post was published on gist to improve accessibility for all.

In [1]:
Installed To use it, type:
  %load_ext plantuml_magics
In [2]:
%load_ext plantuml

For this example plantuml.jar is located in the current working directory.

In [3]:
import glob
In [4]:
%%plantuml figure1

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
AliceAliceBobBobAuthentication RequestAuthentication Response
In [4]: