NetworkX

Previous topic

networkx.graphviz_layout

Next topic

networkx.circular_layout

Quick search

networkx.pydot_layout

pydot_layout(G, prog='neato', root=None, **kwds)

Create layout using pydot and graphviz. Returns a dictionary of positions keyed by node.

>>> G=nx.complete_graph(4)
>>> pos=nx.pydot_layout(G)
>>> pos=nx.pydot_layout(G,prog='dot')