如果想更进一步,直接上官网: http://www.graphviz.org/Documentation.php. dot draws directed graphs as hierarchies. It runs as a command line program, web visualization service, or with a compatible graphical interface. Its features include well-tuned layout algorithms for placing nodes and edge. 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. Development occurs at GitHub (under branch dev), where you can report issues and contribute code. Installation. From PyPI using pip: pip install pydot. From source: python setup.py ... Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.