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 Parameter | Default type |
|---|---|
TData | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
data? | TData | The datum from the source ArcDiagramNode, if one was provided. | charts/src/charts/arc-diagram.ts:125 |
id | string | The id of the interacted node. | charts/src/charts/arc-diagram.ts:121 |
label | string | The label of the interacted node. | charts/src/charts/arc-diagram.ts:123 |
x | number | The x coordinate (in chart pixels) of the node. | charts/src/charts/arc-diagram.ts:117 |
y | number | The y coordinate (in chart pixels) of the node. | charts/src/charts/arc-diagram.ts:119 |