E. Statechart Diagram
I learn the state chart diagram from Smartdraw (2009) web site.
E1. Scope of statechart diagram.
A statechart diagram shows the behavior of classes in response to external stimuli. This diagram models the dynamic flow of control from state to state within a system.
E2. Elements of statechart diagram
- States - It represent situations during the life of an object. You can easily illustrate a state in SmartDraw by using a rectangle with rounded corners. (See figure 1)

Figure 1. State symbol of statechart diagram.
- Transition - A solid arrow represents the path between different states of an object. Label the transition with the event that triggered it and the action that results from it. (See figure 2)

Figure 2. Transition symbol of statechart diagram.
- Initial State - A filled circle followed by an arrow represents the object's initial state. (See figure 3)
Figure 3. Initial State symbol of statechart diagram.
- Final State - An arrow pointing to a filled circle nested inside another circle represents the object's final state.(See figure 4)

Figure 4. Final State symbol of statechart diagram.
- Synchronization and Splitting of Control - A short heavy bar with two transitions entering it represents a synchronization of control. A short heavy bar with two transitions leaving it represents a splitting of control that creates multiple states. (See figure 5)
Figure 5. Synchronization and Splitting of Control symbol of statechart diagram.
References:
Smartdraw(2009). "HOW TO DRAW UML DIAGRAMS ". Received 6th May, 2009 from URL -
http://www.smartdraw.com/tutorials/software/uml/tutorial_10.htm
沒有留言:
發佈留言