I'm a little bit confused about the right way to add a new state machine to my model. Starting from a new project, this is what I do:
- Delete the blank "Main" diagram that was auto-created.
- Right-click on the Model and select Add -> State Machine.
- Right-click on the State Machine and select Add Diagram -> Statechart Diagram.
However, I can't add anything (states, etc.) to the resultant diagram. Instead of the aforementioned steps, if I do the following:
- Delete the blank "Main" diagram that was auto-created.
- Right-click on the Model and select Add Diagram-> Statechart Diagram.
I can now add stuff to the diagram. The only difference between this and the previous one seems to be the presence of a "(Region)" element in my diagram.
What is the difference between these two sequences of steps?