Position nodes in concentric circles.
Parameters : | G : NetworkX graph nlist : list of lists
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)
>>> shells=[[0],[1,2,3]]
>>> pos=nx.shell_layout(G,shells)