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 saved in any of the format's supported by the Graphviz tools dot, neato, twopi.