Skip to content

Interface: GraphTraceArc ​

Options of arrangement: 'arc'. Lengths are layout units: CSS px at the size the graph is laid out for, before it is fitted to the plot area.

Properties ​

PropertyTypeDefault valueDescription
groupsep?number0With order: 'group': extra space where the group changes. Minimum: 0
loopsize?number12How far the loop of a link from a node to itself rises beyond the node's edge. Minimum: 0
maxheight?numberundefinedHow far an arc may rise from the line, in layout units: longer arcs are flattened to this height. Default: no limit (half circles). Minimum: 0
nodesep?number20Space between two neighbours on the line, in layout units. Minimum: 0
order?"input" | "group" | "degree" | "barycenter"undefinedThe order of the nodes along the line, which is what an arc diagram shows. 'input': as given. 'group': by node.group. 'degree': most links first. 'barycenter': the given order improved so that linked nodes are close and the arcs short. Default: 'group' when the nodes have groups, else 'input'.
orientation?"h" | "v""h"The direction of the line the nodes sit on: horizontal ('h', first node on the left) or vertical ('v', first node at the top).
sides?"above" | "below" | "direction""above"The side of the line the arcs are on: 'above' (to the right of a vertical line), 'below', or 'direction': above for a link that points forward along the line and below for one that points back.

Released under the MIT License.