Position nodes on a circle.
Parameters : | G : NetworkX graph dim : int
scale : float
|
---|---|
Returns : | dict : :
|
Notes
This algorithm currently only works in two dimensions and does not try to minimize edge crossings.
Examples
>>> G=nx.path_graph(4)
>>> pos=nx.circular_layout(G)