BSD Ports

graphics/py-graphviz 0.10.1_2 MidnightBSD

Simple Python interface for Graphviz

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
graphics, python

Description

This package facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software (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 (a.k.a. IPython notebooks, example) as well as the Jupyter Qt Console.

In the other systems

SystemPortVersion
MidnightBSDgraphics/py-graphviz0.10.1_2
FreeBSDgraphics/py-graphviz0.10.1_1
NetBSDgraphics/py-graphviz0.21
DragonFlygraphics/py-graphviz0.10.1_1
HardenedBSDgraphics/py-graphviz0.10.1_1
GhostBSDgraphics/py-graphviz0.10.1_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}graphviz

From mports:

cd /usr/mports/graphics/py-graphviz && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz

Dependencies

As this port's Makefile names them.

Runtime 1

Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
cpe python zip
Service scripts
none

Files

distinfo 1
FileSizeSHA256
graphviz-0.10.1.zip167590d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f
Master sites 1
  • PYPI