Skip to content

Documentation / @ripl/charts / ArcDiagramNode

Interface: ArcDiagramNode<TData> ​

Defined in: charts/src/charts/arc-diagram.ts:88

A node in an arc diagram.

Type Parameters ​

Type ParameterDefault type
TDataunknown

Properties ​

PropertyTypeDescriptionDefined in
color?stringExplicit node color; falls back to the group/palette color when omitted.charts/src/charts/arc-diagram.ts:96
data?TDataArbitrary datum carried through to node interaction events.charts/src/charts/arc-diagram.ts:98
group?stringOptional grouping; nodes in the same group share a color.charts/src/charts/arc-diagram.ts:94
idstringUnique identifier for the node, referenced by links and used for data joins.charts/src/charts/arc-diagram.ts:90
label?stringText shown beside the node; defaults to the node's id.charts/src/charts/arc-diagram.ts:92