This project is based on pydot.
OS: centos7
python: 3.7.7
yum install graphviz graphviz-devel
python3.7 -m pip install -U my-happy-graphviz
or
python3.7 -m pip install -i https://pypi.org/simple/ -U my-happy-graphviz
python3.7 -m pip uninstall my-happy-graphviz
See the examples directory in the project.
This version can not support the prog='sfdp'.