Interface: MachineNodeData
API / @xmachines/play-router / MachineNodeData
Defined in: types.ts:9
Data attached to each node in the machine graph representation. Captures the essential state metadata needed for route extraction and queries.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
meta? | Record<string, unknown> | Original state meta object | types.ts:15 |
route? | string | Extracted route path from meta.route (string form) | types.ts:17 |
stateId | string | XState state ID (e.g., “test.dashboard.overview”) | types.ts:11 |
type | "atomic" | "compound" | "parallel" | "final" | "history" | State type from XState | types.ts:13 |