Make Graphviz an optional dependency
Currently, Graphviz is needed whatever the use case for the program. Graphviz can be troublesome to install. Make it optional, by adding a command line option for generating the graphs and importing pygraphviz only when needed.
Since generating graphs can be pretty performance intensive, that option will also enable better performance.