Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

State Machine Table Simulation

A State Machine Table is a representation of a State Machine, and can be simulated in exactly the same way as a State Machine diagram.

Access Select the State Machine diagram in the Project Browser and (if necessary)

Right-click diagram background | Statechart Editor | Table (any of the three options) then Analyzer | Simulator

Highlight active cells

As the simulation executes, the table cells change color to indicate the:

  • Currently active State(s) - the color set in the 'Highlight Color' field of the 'State Machine Options: Dialog', and a dark border
  • Potential next States(s) - A variant of the color in the 'Highlight Color' field or, if the 'Use Different Color for Target State' checkbox is selected on the 'State Machine Options:' dialog, the color set in the 'Target Zone Color' field
  • Active Transition(s) - the color set in the 'Transition Cell' field of the 'State Machine Options:' dialog
  • Trigger(s) - the color set in the 'Highlight Color' field of the 'State Machine Options:' dialog
  • Non-active States - gray  

For example:

Signal Triggers

As when running a simulation as a Diagram, the simulation will automatically traverse transitions with no guards or validated guards. Transitions with a Trigger will not be followed unless that Trigger has been fired. They may be fired automatically from the Simulation Events window or you can fire a Trigger manually by right-clicking on the Transition or Trigger cell and select 'Signal Trigger in Simulation'.

Learn more