This package facilitates the creation and rendering of graph descriptions in
the DOT language of the Graphviz graph drawing software from Python.
It supports creating a graph object, assembling the graph by adding nodes and
edges, and retrieving its DOT source code string, saving the source code to a
file and rendering it with the Graphviz installation.
Using the view option/method, the resulting (PDF, PNG, SVG, etc.) file can be
inspected with its default application. Graphs can also be rendered and
displayed within IPython notebooks.
Provides
Requires
License
MIT
Changelog
* Tue Sep 09 2025 Markéta Machová <mmachova@suse.com>
- Add py314.patch to fix tests with Python 3.14
* Wed Jul 02 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.21
* Drop Python 3.8 support (end of life 7 Oct 2024).
* Tag Python 3.13 support.
* Add support for ``format='svg_inline'``, available since upstream
Graphviz 10.0.1. Produces header-less SVG suitable for inlining
into HTML (see https://www.graphviz.org/docs/outputs/svg/).
* Switch project to ``pyproject.toml`` and build to ``python -m build``)
(https://build.pypa.io). This changes the source distribution formar
from ``.zip`` to PEP 625 compliant ``.tar.gz``
(https://peps.python.org/pep-0625/).
- Remove unzip package from BuildRequires
- Switch source archive format to TAR.GZ
- Update BuildRequires from pyproject.toml
* Fri Jun 06 2025 Thomas Renninger <trenn@suse.de>
- Fix tests with latest graphviz update to 12.x
* Thu May 23 2024 Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.20.3:
* Drop Python 3.7 support (end of life 27 Jun 2023).
* Tag Python 3.11 and 3.12 support.
* Add caveat about labe escaping/quoting to .node() and .render() API docs.
* Document that doctest_skip_exe() lines in doctest should be ignored.
- Drop patch python312-syntax-warning.patch, no longer required.
- Ignore conftest files during collection, due to pytest issue.
- Switch to pyproject macros.
* Wed Dec 06 2023 Dirk Müller <dmueller@suse.com>
- add python312-syntax-warning.patch for python 3.12 support
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
* Thu Aug 18 2022 Ben Greiner <code@bnavigator.de>
- Update to v0.20.1
* Fix documentation building: upgrade to Sphinx 5.0.
* Fix broken user guide links in API documentation.
- Version 0.20
* Add keyword-only neato_no_op argument to .render(), .pipe(),
and stand-alone graphviz.render() and graphviz.pipe().
* When building a Graph or Digraph, warn about an expected DOT
syntax error in rendering when passing a string that ends with
an odd number of backslashes (e.g. invalid dot.node('spam',
label='\\') instead of correct ..., label=r'\\' for a node
labled as a backslash).
* Increase visibility of graphviz.escape() in the documentation.
- Version 0.19.2
* Drop Python 3.6 support (end of life 23 Dec 2021).
* Fix ExecutableNotFound and CalledProcessError in
graphviz.__all__.
* Better document 0.18 change of behaviour for the body
argument/attribute (lines need to include their final newline).
- drop python-graphviz-pytest.patch
* Wed Mar 23 2022 pgajdos@suse.com
- do not require python-mock for build
* Mon Dec 13 2021 Dominique Leuenberger <dimstar@opensuse.org>
- Add noto-sans-fonts: in order to have a reliable test suite with
pango 1.50, we need to have some fonts available.
- Add python-graphviz-pytest.patch: Allow to run pytest directly,
instead of run-tests.py. Allows us to further use %%pytest
without workarounds. Patch will be part of the next version.
Files
/usr/lib/python3.14/site-packages/graphviz
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/INSTALLER
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/METADATA
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/RECORD
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/REQUESTED
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/WHEEL
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/licenses
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/licenses/LICENSE.txt
/usr/lib/python3.14/site-packages/graphviz-0.21.dist-info/top_level.txt
/usr/lib/python3.14/site-packages/graphviz/__init__.py
/usr/lib/python3.14/site-packages/graphviz/__pycache__
/usr/lib/python3.14/site-packages/graphviz/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_compat.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_compat.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_defaults.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_defaults.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_tools.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/_tools.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/base.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/base.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/copying.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/copying.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/dot.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/dot.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/encoding.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/encoding.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/exceptions.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/exceptions.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/graphs.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/graphs.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/jupyter_integration.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/jupyter_integration.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/piping.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/piping.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/quoting.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/quoting.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/rendering.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/rendering.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/saving.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/saving.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/sources.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/sources.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/unflattening.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/__pycache__/unflattening.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/_compat.py
/usr/lib/python3.14/site-packages/graphviz/_defaults.py
/usr/lib/python3.14/site-packages/graphviz/_tools.py
/usr/lib/python3.14/site-packages/graphviz/backend
/usr/lib/python3.14/site-packages/graphviz/backend/__init__.py
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/dot_command.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/dot_command.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/execute.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/execute.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/mixins.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/mixins.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/piping.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/piping.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/rendering.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/rendering.cpython-314.pyc
/usr/lib/python3.14/site-packages/graphviz/backend/__pycache__/unflattening.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/graphviz/ba