aryagraph.layout.arc#

aryagraph.layout.arc(g: Any, *, order: Sequence[Hashable] | str | None = None, seed: int = 0) → Layout[source]#

All nodes on one horizontal line, one unit apart: the basis of an arc diagram.

order works as in circular() ("auto" minimises arc crossings, which for one-sided arcs is the same problem as chords on a circle). meta["arc"] is True so renderers draw edges as arcs.