Python interface to Graphviz
Project description
PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. PyGraphviz provides a similar programming interface to NetworkX (https://networkx.org).
Website (including documentation): https://pygraphviz.github.io
Mailing list: https://groups.google.com/forum/#!forum/pygraphviz-discuss
Bug reports: https://github.com/pygraphviz/pygraphviz/issues
Simple example
>>> import pygraphviz as pgv
>>> G = pgv.AGraph()
>>> G.add_node("a")
>>> G.add_edge("b", "c")
>>> print(G)
strict graph "" {
a;
b -- c;
}
Install
PyGraphviz requires Graphviz. Please see INSTALL.rst for details.
License
Released under the 3-Clause BSD license (see LICENSE):
Copyright (C) 2006-2021 PyGraphviz Developers Aric Hagberg <aric.hagberg@gmail.gov> Dan Schult <dschult@colgate.edu> Manos Renieris
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pygraphviz-1.7rc1.zip
.
File metadata
- Download URL: pygraphviz-1.7rc1.zip
- Upload date:
- Size: 117.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a1a162e26186ca737847498f84ca88775318c19f7c50d3603d500f09ac9a8b |
|
MD5 | 053896853f8aa3a10354269e915b611c |
|
BLAKE2b-256 | 42d4ef79ad050443eaa752c4b4f4042e9d276269ceff398efbbb36ad00d9626e |