Skip to content

paetzke/dotter

Repository files navigation

dotter

https://travis-ci.org/paetzke/dotter.png?branch=master https://coveralls.io/repos/paetzke/dotter/badge.svg?branch=master&service=github

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

https://raw.githubusercontent.com/paetzke/dotter/master/docs/dotter.png

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()

Bugs and improvements

Feel free to open tickets or send pull requests with improvements. These contributors have done so.

Copyright

Copyright (c) 2013-2015 Friedrich Pätzke. See LICENSE for further details.

See you. Friedrich.