Skip to content

mermaid

mermaid generates svg or png charts from simple text files

here's the markup

graph LR
    A[Square Rect] -- Link text --> B((Circle))
    A --> C(Round Rect)
    B --> D{Rhombus}
    C --> D

chromeos

I have mermaid cli installed on my pixelbook running debian

https://github.com/mermaid-js/mermaid-cli

installing and using it is not user friendly

I'll see if I can find a simpler way to automate mermaid charts later

sudo apt search yarn
sudo apt install yarnpkg
which yarn
apropos yarn
yarnpkg add mermaid.cli
./node_modules/.bin/mmdc -h

changelog

this isn't implemented yet