Python & Dot Graphs



About

Rendering dot graphs with various python libraries.

Libraries

  • PyGraphViz - generates dot text and is able to write/render to file.
  • PyDot - alternative to pygraphviz, used by ros.
  • PyGraph - provides algorithms to run on graphs, use with either pygraphviz or pydot
  • PyGraph - provides algorithms to run on graphs, use with either pygraphviz or pydot
  • QtDotGraph - used by rqt to generate qt graphs in ros

GraphViz References

For both pygraphviz and pydot, you need to directly supply dictionary keys to set node and edge attributes. These keys are simply dot keys.