Skip to the content.

explain command

zigmod explain

Use this command to create a visual description of your dependency graph.

--locked

Pass this to use the dependency versions from zigmod.lock instead of your current .zigmod folder.

--format

May be followed by one of the following values:

--format tree

Image

--format mermaid

https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams

Image

--format dot

This format prints output compatible with the dot program from https://graphviz.org/.

Run dot -Tpng <(zigmod explain --locked --format dot) -o explain.png to generate the image.

Image