Concept
A state diagram shows the sequences of states that an object or an
interaction
goes through during its life in response to received stimuli, together
with
its responses and actions. The state of an object depends on its
current
activity or condition. A state diagram shows the possible states of the
object
and the transition that cause a change in state.
State chart diagrams are often used to
- explore the complex behavior of a class, actor, subsystem or
component
etc...
- model real-time systems
The elements of the State diagrams are available in the tool bar:
An initial state
item represents the first active state within a diagram.
A final state item
represents the end of the active state
State items indicate
the states of the elements modelized by the diagram
This tool creates a history item which is used to access the
previous state
of
a state item.
A history state item can
only
be created into a state item.
A join/fork item is
used to synchronize (ie join) or fork transitions.
Transitions
represent a change in state of the elements modelized by the diagram.