Exercise 4 - Constructing Statecharts
This exercise describes how to construct a statechart that demonstrates behavioral aspects of the traffic light system. See the figure.
1. Click Graphic Editor from the main Rational Statemate window.
●
Type - Statechart
●
Usage - Regular
●
Name Pattern - TRAFFIC_LIGHT_CTRL
3. Select New from the Open Chart window to create and open a new diagram. The chart is now available for editing.
4. Click Create State.
5. Draw a state called TRAFFIC_LIGHT_CTRL. See the figure Statechart TRAFFIC_LIGHT_CTRL.