Running a state machine against a state diagram

The user can execute the state machine and trace the execution on the state diagram by entering into run mode. This is done by selecting the draw windows menu and from it selecting code and then run mode.