pydot
:
- is an interface to Graphviz
- can parse and dump into the DOT language used by GraphViz,
- is written in pure Python,
and networkx
can convert its graphs to pydot
.
pip install pydot
From source:
python setup.py install
-
pyparsing
: used only for loading DOT files, installed automatically duringpydot
installation. -
GraphViz: used to render graphs as PDF, PNG, SVG, etc. Should be installed separately, using your system's package manager, something similar (e.g., MacPorts), or from its source.
Distributed under an MIT license.