aryagraph.layout.circular#
- aryagraph.layout.circular(g: Any, *, order: Sequence[Hashable] | str | None = None, start_angle: float = -90.0, seed: int = 0) Layout[source]#
Nodes evenly spaced on a circle, clockwise on screen from start_angle.
- Parameters:
order –
Nonekeeps graph order; a node sequence fixes the order (unlisted nodes follow in graph order);"auto"picks an order that reduces chord crossings (DFS / greedy-adjacency heuristics, best one kept).start_angle – Angle of the first node in degrees;
-90is 12 o’clock (y down).
Notes
The radius makes neighbouring nodes about one unit apart.