Skip to content

Documentation / @ripl/charts / ArcDiagramNodeEvent

Interface: ArcDiagramNodeEvent<TData>

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

Payload emitted for arc diagram node interaction events.

Type Parameters

Type ParameterDefault type
TDataunknown

Properties

PropertyTypeDescriptionDefined in
data?TDataThe datum from the source ArcDiagramNode, if one was provided.charts/src/charts/arc-diagram.ts:125
idstringThe id of the interacted node.charts/src/charts/arc-diagram.ts:121
labelstringThe label of the interacted node.charts/src/charts/arc-diagram.ts:123
xnumberThe x coordinate (in chart pixels) of the node.charts/src/charts/arc-diagram.ts:117
ynumberThe y coordinate (in chart pixels) of the node.charts/src/charts/arc-diagram.ts:119