Skip to content

Documentation / @ripl/charts / ArcDiagramNode

Interface: ArcDiagramNode<TData>

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

A node in an arc diagram.

Type Parameters

Type ParameterDefault type
TDataunknown

Properties

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