python_graphviz_python310

Simple interface for Graphviz

Version

0.20.1-4
(2025-07-24)

Size

71.2

KiB

Repository

HaikuPorts
x86_64
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 <notebook_>_, nbviewer <notebook-nbviewer_>_) as well as the Jupyter QtConsole_.