# Mermaid

> Mermaid is JavaScript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.

Mermaid is [JavaScript](https://wiki.g15e.com/en/pages/JavaScript.txt) based diagramming and charting tool that renders [Markdown](https://wiki.g15e.com/en/pages/Markdown.txt)-inspired text definitions to create and modify diagrams dynamically.

https://mermaid.js.org/

## Examples

Flowchart:

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```

Sequence diagram:

```mermaid
sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop HealthCheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail!
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!
```