Convert a juju bundle to a diagram.
sudo snap install juju-graph --edge
# or
cargo install --git https://github.com/sed-i/juju-graphConvert bundle to mermaid:
juju export-bundle | juju-graph mermaidOutput a subgraph containing only the given app and its immediate neighbors:
juju export-bundle | juju-graph mermaid --spotlight grafanaRender a mermaid.live image url:
juju export-bundle | juju-graph mermaid --urlRender svg from graphviz:
juju export-bundle | juju-graph graphviz | dot -Tsvg > bundle.svg # Read from "bundle.yaml"
cargo run
# Pass via stdin
cargo run < bundle.yaml
# or
juju export-bundle | cargo runcargo install --path .
juju-graph < bundle.yaml