make, sqlite3, go v14+, container execution environment (such as Docker, podman)
Adjust the sqlite file pointed to in sqlite3.sql
, this controls what index gets graphed
Then:
make run <ARGS=operator-package-name>
Your Mermaid graph should open if open
command opens PNG files on your host.
If not, image file saved as /tmp/mermaid.mer.png
Mermaid script file will be ./mermaid.mer
- First time usage of
make run
may be slow due to download of Mermaid Docker image. - tweak the makefile if you need other file output types than SVG