Skip to content

Interface: ChordLayout ​

Properties ​

PropertyModifierTypeDescription
arcOfreadonlyInt32ArrayPosition in arcs of every node, −1 for a node without an arc.
arcsreadonlyreadonly ChordArc[]The arcs in ring order; nodes without links have none.
directionreadonly-1 | 1+1 clockwise, −1 counterclockwise.
groupsreadonlyreadonly ChordGroupArc[]Group arcs in ring order; empty without groups.
ribbonsreadonlyreadonly ChordRibbon[]One ribbon per link that has one, in link order.
scalereadonlynumberRadians per unit of width.
totalreadonlynumberSum of the arcs' widths, in the data's units.

Released under the MIT License.