Copyright (c) 2013, Friedrich Paetzke ([email protected]) All rights reserved.
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()