GraphNode
Each example below is a real component instance — flip the theme toggle to see how it adapts.
Default#
Loading…
Types#
Loading…
States#
Loading…
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
| type * | enum | — | |
| state | enum | default | |
| glyph | ReactNode | — | Override the leading glyph. |
| label | ReactNode | — | Caption rendered below the node. |
| size | number | undefined | 52 | Pixel size of the square. Default 52. |
| pathColor | string | undefined | — | Use the node's "on a path" purple ring even if state isn't `path`. |