ChordDiagramLinkStyle

New in version 5.0.11

ChordDiagramLinkStyle ( sourceNodeID ;​ targetNodeID ;​ color ;​ colorVariant )

Argument Type Range Default Note
sourceNodeID str 0..1000
targetNodeID str 0..1000
color rgba 0..255 #8886
colorVariant int -1..0 0
Examples

ChordDiagramLinkStyle(;​;​lightGray)

ChordDiagramLinkStyle(;​;​#0f02)

ChordDiagramLinkStyle("A";​"M";​darkYellow;​-1)

Description

The ChordDiagramLinkStyle() function can be used to control the appearance of individual links. The sourceNodeID and targetNodeID arguments define which link the function is applied to. If the sourceNodeID argument is empty, then the function is applied to all links with the target node defined in the targetNodeID argument. If the targetNodeID argument is empty, the function is applied to all links with the source node defined in the sourceNodeID argument. If both the sourceNodeID and targetNodeID arguments are empty, the function is applied to all links. The appearance can be varied by using the color and colorVariant arguments.

The ChordDiagramLinkColorScheme() function can be customized by using the corresponding ChordDiagramLinkStyle() function. The color scheme function should be listed before the style function(s).

Note that ChordDiagramLinkStyle() should be listed after the ChordDiagram() function. This rule generally applies: The ChordDiagram() function should always be listed first, before other chord functions are called.

Scroll to Top