A simple markdown-like script language for generating UML sequence diagram from textual representation of the diagram using javascript and HTML canvas.
Steps:
Syntax | Action |
---|---|
Title: <diagram_name> |
Title of diagram |
Actor1 -> Actor2: message |
Actor1 send message to Actor2 |
Actor2 --> Actor1: reply message |
Actor2 reply to Actor 2 |
Actor1 -> Actor1: message |
Self call |
Example:
Title: ATM Transaction Sequence Diagram
User -> ATM: Card insert
ATM --> User: Enter your pin code
User -> ATM: PIN code send
ATM -> bank: Check this details
bank -> bank: Verify Pin code
bank -> ATM: Authorized
ATM -> User: Enter amount
Output: