$ sudo yum install graphviz-python graphviz-devel
$ pip install pygraphviz