Descriptions
You can add descriptions to state and event nodes to describe their purpose and share related notes with your team. Descriptions support markdown formatting, including links and images.
The machine object will include your descriptions in the state or event's description
when you export your statecharts to JSON.
In the video player above, the text “The video player should be in full-screen mode” is a description of the Opened event.
Add a description to a state
- Select the state.
- Open the State details panel from the right tool menu.
- Write your state’s description in the Description text area.
Add a description to an event
- Select the event.
- Open the Transition details panel from the right tool menu.
- Write your event’s description in the Description text area.