python_graphviz

Simple interface for Graphviz

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. python_graphviz

Description

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_.

Install

Channel stable v0.20.1-4

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install python_graphviz

Download version 0.20.1-4 (x86_64) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews