Python interface to Graphviz
Project Links
Meta
Author: Manos Renieris
Requires Python: >=3.10
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: BSD License
Programming Language
- C
- Python
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
Topic
- Software Development :: Libraries :: Python Modules
- Scientific/Engineering :: Information Analysis
- Scientific/Engineering :: Mathematics
- Scientific/Engineering :: Visualization
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.txt for details.
License
Released under the 3-Clause BSD license (see LICENSE):
Copyright (C) 2006-2024 PyGraphviz Developers Aric Hagberg <aric.hagberg@gmail.gov> Dan Schult <dschult@colgate.edu> Manos Renieris
1.14
Sep 29, 2024
1.14rc0
Sep 29, 2024
1.13
May 09, 2024
1.13rc0
May 09, 2024
1.12
Jan 08, 2024
1.12rc3
Jan 08, 2024
1.11
Jun 01, 2023
1.11rc1
May 31, 2023
1.10
Aug 19, 2022
1.10rc1
Aug 17, 2022
1.9
Feb 09, 2022
1.8
Jan 20, 2022
1.8rc1
Jan 15, 2022
1.7
Feb 01, 2021
1.7rc2
Jan 24, 2021
1.7rc1
Jan 04, 2021
1.6
Aug 06, 2020
1.6rc1
Aug 05, 2020
1.5
Sep 10, 2018
1.4rc1
Nov 06, 2016
1.3.1
Sep 06, 2015
1.3
Sep 05, 2015
1.3rc2
Oct 11, 2014
1.3rc1
Sep 21, 2014
1.2
Aug 03, 2013
1.1
May 14, 2011
1.1rc1
Feb 12, 2011
1.0
Aug 01, 2010
1.0rc6
Jul 31, 2010
1.0rc5
Jul 30, 2010
1.0rc4
Jul 28, 2010
1.0rc3
Jul 27, 2010
1.0rc2
Jul 24, 2010
1.0rc1
Jul 24, 2010
0.99.1
Dec 07, 2008
0.99
Nov 18, 2008
0.37
Aug 17, 2008
0.36
Jan 13, 2008
0.35
Jul 23, 2007
0.34
Apr 12, 2007
Files in release
No dependencies