GraphNode interface
A node of the graph: a list item, or a name in a table of links.
import type { GraphNode } from '@dioramajs/data/graph'interface GraphNodeMembers
| Name | Type | Description |
|---|---|---|
readonly element | Element | |
readonly group | string | |
readonly id | string | |
readonly label | string | |
readonly link | HTMLElement | null | The item's link, followed when the node is clicked. |
readonly note | string | Text of the item besides its label, for the tooltip. |
readonly value | number |
|
Defined in packages/data/src/graph.ts.