Dotter is a graphviz wrapper for Python 2 and 3. In order to use it you need graphviz. On Debian/Ubuntu you can install it by typing:
$ apt-get install graphviz
After that install dotter
via pip
.
$ pip install dotter
An usage example:
from dotter import Dotter
dotter = Dotter()
dotter.add_node('a', label='b')
dotter.add_node('b', label='c')
dotter.add_edge('a', 'b')
dotter.close()
Feel free to open tickets or send pull requests with improvements. These contributors have done so.
Copyright (c) 2013-2015 Friedrich Pätzke. See LICENSE for further details.
See you. Friedrich.