pombreda / pydot

Automatically exported from code.google.com/p/pydot
MIT License
0 stars 0 forks source link

Example code on homepage. #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
True. Fixed.

Original comment by ero.carr...@gmail.com on 24 Nov 2010 at 8:59