pygraphviz on python3 code example
Example: pygraphviz show
>>> G.draw('file.png') # write previously positioned graph to PNG file
>>> G.draw('file.ps',prog='circo') # use circo to position, write PS file
>>> G.draw('file.png') # write previously positioned graph to PNG file
>>> G.draw('file.ps',prog='circo') # use circo to position, write PS file