Generate State Machine transitions
After completing the service sequence diagrams, their states, transitions, and behaviors can be consolidated into a state machine..
State Machine generation represents sequence diagram behavior as internal or external transitions between states, while Action generation represents it as entry or exit actions executed when a state is entered or exited.
Each Service has a State Machine.
提示
Before generating the state machine, make sure you have Service Sequence Diagram. After generating the state machine, you can proceed to code generation.
GENERATE TRANSITIONS
- Right Click on the Sequence Diagram
- Click on Sim4Sys Designer > Statecharts > Generate transitions
GENERATE ACTIONS
- Right Click on the Sequence Diagram
- Click on Sim4Sys Designer > Statecharts > Generate actions