VCHui / gvjinja

Create directed graphs for templates of jinja environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gvjinja Build Status Coverage Status PyPI PyPI PyPI PyPI

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

About

Create directed graphs for templates of jinja environments

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 91.8%Language:Makefile 8.2%