Pydot provides an interface for creating both directed and non directed
graphs from Python. Currently all attributes implemented in the Dot
language are supported (up to Graphviz 1.10). Output can be inlined in
Postscript into interactive scientific environments like TeXmacs, or
ouput in any of the format's supported by the Graphvix tools dot, neato,
twopi.