Region
- Updated2023-02-21
- 2 minute(s) read
Region
Owning Palette: Statechart Development Objects
Requires: Statechart Module
Defines the area in which you can place states and pseudostates. Each region must contain an Initial pseudostate and at least one substate.
The top-level statechart diagram represents a region. You can place regions within only a state.

Add to the statechart diagram |
Find on the palette |
Using regions allows you to place states within states, as the previous figure shows. Two or more regions in the same state are called orthogonal regions.
When the statechart enters a region, the statechart enters the substate to which the Initial pseudostate is connected, except in the following situations:
- The statechart is following a transition directly to a substate.
- The statechart has entered that region at least once since you first executed the statechart, and the region contains a Shallow History or Deep History pseudostate.
In these situations, the statechart enters the substate that the transition or pseudostate specifies.
Add to the statechart diagram
Find on the palette