Skip to content

Interface: ChordTraceNode ​

The nodes: arcs of the ring.

Properties ​

PropertyTypeDefault valueDescription
color?PerPointColorundefinedNode color, or one per node index. Default: the colorway, one color per node, or one per group when node.group is given.
customdata?DataColumnundefinedExtra data per node for %{customdata} and events.
group?DataColumnundefinedA group per node (a name or a number; empty for none). The nodes of a group are next to each other on the ring and take the color of the group, an outer ring draws one labeled arc per group (see groups), and the legend lists the groups instead of the nodes.
hoverinfo?"all" | "none" | "skip""all"Hover of the node arcs: labels ('all'), highlighting without labels ('none') or no hover and no events ('skip'). Default: the trace hoverinfo.
hovertemplate?stringundefinedTemplate of the node hover labels: %{label}, %{value} (the width of the arc: outgoing plus incoming flow, formatted with valueformat and valuesuffix), %{out}, %{in}, %{percent} (share of the ring), %{group}, %{color}, %{customdata}. <extra>…</extra> replaces the value box.
label?DataColumnundefinedNode labels, one per node index (Plotly pseudo-HTML allowed): drawn around the ring and shown in hover labels and in the legend.
line?ChordTraceNodeLineundefinedOutlines of the node arcs.
thickness?number12Thickness of the ring of node arcs, in CSS px. Minimum: 1

Released under the MIT License.