The current example code is in a single line:
# Now it's possible to use rank to lay out nodes at the same level
graph = pydot.Dot('graphname', graph_type='digraph') subg = pydot.Subgraph('', rank='same') subg.add_node(pydot.Node('a')) graph.add_subgraph(subg) subg.add_node(pydot.Node('b')) subg.add_node(pydot.Node('c'))
It would be nice to have it separated by line feeds to aid in easy
copy-pasting. :)
~
musically_ut
Original issue reported on code.google.com by musically.ut on 24 Nov 2010 at 12:39
Original issue reported on code.google.com by
musically.ut
on 24 Nov 2010 at 12:39