Mermaid.js

Mermaid.js is a JavaScript library that allows you to generate diagrams using a simple markdown-like syntax. It is used to generate the diagrams in this documentation template.

Mermaid diagrams are supported in GitHub and GitLab file explorers.

Usage

To define a diagram in Markdown, create a code block with the language set to mermaid.

flowchart TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]
Mermaid diagram is loading...