Mermaid

Install

Insall npm package (Requires node 14):

npm install @mermaid-js/mermaid-cli

Watch the file and generate a mermaid image:

watch-file mermaid.mmd ./node_modules/.bin/mmdc -i mermaid.mmd -o mermaid.png

Example

example.mmd:

```mermaid
flowchart TB
  A-->B
  A-->C
```

Flowchart

https://mermaid-js.github.io/mermaid/#/flowchart?id=graph