Define Graphviz graphs using plain old Python data structures