NetworkX

Previous topic

networkx.random_layout

Next topic

networkx.spring_layout

Quick search

networkx.shell_layout

shell_layout(G, nlist=None, dim=2)

Shell layout. Crude version that doesn’t try to minimize edge crossings.

nlist is an optional list of lists of nodes to be drawn at each shell level. Only one shell with all nodes will be drawn if not specified.