astah professional logo

Content

Back

Main Menu

Next

State Transition Path

State Transition Table

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".

Astah State Transition Table

State Transition Table (State-State)

To display the table in (State-State) style, choose it in the combo box.

Astah State Transition Table (State-State)

State Transition Table (State-Event)

To switch the view to (State-Event) style, choose it in the combo box.

State Transition Table (State-Event)

Specifying ignore or cannot happen in the table (State-Event)

You can specify "ignore" or "cannot happen" to the blank cell.

State Transition Table(ignore/cannothappen)

Note

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.

Synchronization between the State Transition Table and diagram

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).

Astah State Transition Table (State-State)

Pseudo States

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".

Pseudo States in Astah State Transition Table
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.

Transitions from nested stated machines

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)

Astah_State_Transition_Ttable_Update

Manual update of table

When you want to update this table manually, click [Update] button.

Astah_State_Transition_Table_Manual_Update

Export State Transition Table to Excel

You can export the table to Excel by selecting the top right button "Export to Excel".

Astah_State_Transition_Table_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.

Astah_State_Transition_Table_Export_to_Excel2

The table will be exported in one file with two different sheets, [State-State] and [State-Event].

Astah_State_Transition_Table_Export_Result1
Astah_State_Transition_Table_Export_Result2

Note

When you are working on a large scale of Statemachine diagram, exporting the table into excel will be helpful for the check-up.