Install python-pygraphviz by entering the following commands in the terminal:
sudo apt update sudo apt install python-pygraphviz
Description:
Python interface to the Graphviz graph layout and visualization package
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.
Homepage: https://pygraphviz.github.io/
Version: 1.4~rc1-1build2
Section: universe/python