Create node positions for G using Graphviz.
Parameters : | G : NetworkX graph
prog : string
root : string, optional
args : string, optional
Returns : dictionary
|
---|
Notes
This is a wrapper for pygraphviz_layout.
Examples
>>> G=nx.petersen_graph()
>>> pos=nx.graphviz_layout(G)
>>> pos=nx.graphviz_layout(G,prog='dot')