Skip to content

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

PropertyTypeDescriptionDefined in
meta?Record<string, unknown>Original state meta objecttypes.ts:15
route?stringExtracted route path from meta.route (string form)types.ts:17
stateIdstringXState state ID (e.g., “test.dashboard.overview”)types.ts:11
type"atomic" | "compound" | "parallel" | "final" | "history"State type from XStatetypes.ts:13