IPython notebook magic to draw UML diagram.
This extension uses plantuml. Plantuml is written in java and depends on graphviz. You can install graphviz with this command in ubuntu/debian:
$ [sudo] apt-get install graphviz
%install_ext https://raw.github.com/dgoon/umlmagic/master/umlmagic.py
Try this:
%%uml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml