aryagraph.layout.shell#
- aryagraph.layout.shell(g: Any, *, shells: Sequence[Sequence[Hashable]] | None = None, seed: int = 0) Layout[source]#
Concentric circles.
- Parameters:
shells – List of node lists, innermost first.
Nonebuilds shells from BFS distance to each component’s centre (minimum eccentricity, ties to the higher degree). Nodes left out of the given shells form an extra outer shell.
Notes
Within every shell after the first, nodes are ordered by the mean angle of their neighbours in the previous shell, which avoids most crossings.