--- id: graphviz version: "0.21" license: MIT license_treatment: permissive maintenance: active --- # graphviz — Simple Python interface for Graphviz License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install graphviz uv add graphviz poetry add graphviz ## Description Graphviz ======== |PyPI version| |License| |Supported Python| |Downloads| |Build| |Codecov| |Readthedocs-stable| |Readthedocs-latest| |Binder-stable| This package facilitates the creation and rendering of graph descriptions in the DOT_ language of the Graphviz_ graph drawing software (`upstream repo`_) from Python. Create a graph object, assemble the graph by adding nodes and edges, and retrieve its DOT source code string. Save the source code to a file and render it with the Graphviz installation of your system. Use the ``view`` option/method to directly inspect the resulting (PDF, PNG, SVG, etc.) file with its default application. Graphs can also be rendered and displayed within `Jupyter notebooks`_ (formerly known as `IPython notebooks`_, `example `_, `nbviewer `_) as well as the `Jupyter QtConsole`_. Links ----- - GitHub: https://github.com/xflr6/graphviz - PyPI: https://pypi.org/project/graphviz/ - Documentation: https://graphviz.readthedocs.io - Changelog: https://graphviz.readthedocs.io/en/latest/changelog.html - Issue Tracker: https://github.com/xflr6/graphviz/issues - Download:... ## AI interpretation — verify before relying Generates DOT language graph descriptions and renders them using Graphviz, enabling programmatic creation of directed and undirected graphs with nodes and edges that can be exported to PDF, PNG, SVG, and other formats. Verdict: Mature, well-maintained library for programmatic graph creation in Python with no Python dependencies and permissive licensing. Requires separate installation of the Graphviz system software to render output, but the Python package itself installs cleanly and supports current Python versions through 3.13. [View on SkillFed](https://skillfed.io/packages/graphviz) · [View on PyPI](https://pypi.org/project/graphviz/)