See the examples for sample usage and ideas http://github.com/pygraphviz/pygraphviz/tree/master/examples
There is a complete reference guide at http://pygraphviz.github.io/documentation/latest
A basic example showing how to read and write dot files and draw graphs.
An example showing how to set attributes.
An example showing how to use Graphviz to draw a graph with given positions.