When you open a Statemachine Diagram, the State Transition Table appears in the window below the Diagram Editor in [State Transition Table] tab. You can change the view from two different point views, "State-State" and "State-Event".
To display the table in (State-State) style, choose it in the combo box.
To switch the view to (State-Event) style, choose it in the combo box.
You can specify "ignore" or "cannot happen" to the blank cell.
Specifying "ignore" or "cannot happen" is available in State Transition Table only and cannot do so in the Statemachine diagram. By defining these helps improving the accuracy of models.
When you select a cell that has a value in, the selected models in the Statemachine diagram gets highlighted (State in yellow and transition line in red).
Pseudo states would be deployed in the State Transition Table. So in the sample diagram below, the "Dial the number" event will be deployed in two events, "Other line is busy" and "Other line is idle".
- Supported Pseudo States
- Junction Pseudo States
- Choice Pseudo States
- Fork Pseudo States
- Join Pseudo States
- Unsupported Pseudo States
- Shallow History Pseudo States
- Deep History Pseudo States
Nested State machines (Sub machines)¶
In the State Transition Table, the transition relating to the nested states including Sub machine states would be treated to transitions of its Parent state.
Auto-update of table¶
If you want to update the State Transition Table automatically every time a Statemachine diagram is updated, turn the [Update the table when the StateMachine is modified] button on. (It is set "ON" by default)
Manual update of table¶
When you want to update this table manually, click [Update] button.
Export State Transition Table to Excel¶
You can export the table to Excel by selecting the top right button "Export to Excel".
[Export] dialog appears. Specify the directory where you want the file to be exported and click [Export] button. Check "Open the exported file automatically" if you want to open the exported excel right away.
The table will be exported in one file with two different sheets, [State-State] and [State-Event].
When you are working on a large scale of Statemachine diagram, exporting the table into excel will be helpful for the check-up.