Create Graphviz graph files for templates of jinja environments
gvjinja.py
has a small set of very simple jinja templates to generate to the
Graphviz graph file (the dot-language) for the templates of a jinja
environment. gvjinja
outputs to stdout
. dot
of Graphviz is
required to create the graphic output from the graph file.
-
Command-line options
python gvjinja.py [-m [module] [env]] [-b]
-
Create the graph diagram for the templates of gvjinja itself
python gvjinja.py -m gvjinja gvjinja.env | dot -T png > gvjinja.png
-
Create a basic graph diagram
python gvjinja.py -m gvjinja gvjinja.env -b | dot -T png > gvjinja-basic.png