gvjinja

gvjinja - create Graphviz directed graphs for jinja templates


Keywords
graphviz-dot, jinja2, python, uml-class-diagram
License
BSD-3-Clause
Install
pip install gvjinja==0.9b2

Documentation

gvjinja Build Status Coverage Status

Create Graphviz graph files for templates of jinja environments

Description

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.

Installation requirements

Usage examples

  • 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

    digraph

  • Create a basic graph diagram

    python gvjinja.py -m gvjinja gvjinja.env -b | dot -T png > gvjinja-basic.png

    digraph

Similar projects