- StateNode Structure
- initial: Points to the initial child
StateNode
- transitions: Includes
eventType
,cond | condition | guard
,actions
, and a shortdescription
- id, key: Identifiers for the node
string
- states: An array of children
StateNode[]
- order: A numeric indicator (e.g. 1, 2, 3), likely matching the definition order
- description: A brief explanation of the node’s role optional
string
- initial: Points to the initial child
- definition: References to
invoke
,entry
, andexit
actionsRecord<'name' | 'id', string>