Skip to content

Interface: ChordLayoutOptions ​

Properties ​

PropertyModifierTypeDescription
clockwise?readonlybooleanArcs follow each other clockwise (the default) or counterclockwise.
groupPadAngle?readonlynumberRadians between neighbouring blocks (groups, nodes without one). Default padAngle.
linkSort?readonlyChordLinkSortSee the module comment. 'value': widest first; 'input': by link index.
padAngle?readonlynumberRadians between neighbouring arcs. Default 0.
rotation?readonlynumberWhere the first arc starts: radians clockwise from 12 o'clock. Default 0.
sort?readonlyChordNodeSort'input': by node index. 'value': widest first. 'group': groups by name, nodes by index. With groups, 'input' orders the groups by their first node and 'value' by their width.

Released under the MIT License.