Creating State Machine (FSM)
To add states to the machine, click on the States icon
Name the states by double clicking on the default name inside the state symbol
Add Transitions between states by using its icon
The curve of the transition can be changed when it is added to the diagram
Add conditions for the transition by placing them on the transitions, using the Condition icon