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