Skip to content

bentito/olm-mermaid-graph

Repository files navigation

Output Mermaid graph script from Operator Lifecycle Manager indices

Required:

make, sqlite3, go v14+, container execution environment (such as Docker, podman)

Usage

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

Note

  • 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

About

input bundle index select, output mermaid graph script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published