Mermaid - Intro how to use
What is Mermaid? Mermaid is a sequence diagram generator written in JavaScript.
https://github.com/mermaid-js/mermaid
Not only sequence diagrams, but Mermaid can also generate simple graphs.
Sequence diagram Here is the simple snippet for beginners (slightly changed from official sample).
Mainroad syntax:
sequenceDiagram participant Alice participant Bob Alice->>Bob: Hello John, how are you? Bob-->>Alice: Great! sequenceDiagram: I want to draw sequenceDiagram participant Alice: There is a member of our protocol whose name is Alice.