networkx.graphviz_layout
networkx.from_pydot
Create layout using pygraphviz and graphviz. Returns a dictionary of positions keyed by node.
>>> G=nx.petersen_graph() >>> pos=nx.pygraphviz_layout(G) >>> pos=nx.pygraphviz_layout(G,prog='dot')