An animated sequence diagram can cross reference an animated
statechart by showing the event of an object entering a state. In IBM® Rational® Rhapsody®,
the Condition Mark indicates that an object is in a certain condition
or state at a particular point in a sequence.
About this task
For more information about condition marks,
see Creating a condition mark.
The following
figure shows an animated statechart:
The following figure shows the animated sequence diagram.
Notice the transition states (for example, idle).
The following display
considerations apply for showing state transitions in animated sequence
diagrams:
- States are displayed in the order of their notifications.
- When an inner state changes, all of its and-states
are listed again, even if unchanged.
- When re‑entering the same state in a self loop,
the entry displays again.
- And-states are listed with a pipeline character
( | ) in-between.
- In the case of sub‑states, only the most inner
current state is listed.
- The SequenceDiagram::General::ShowAnimStateMark property
determines whether state transitions are displayed in an animated
sequence diagram. Its default is Checked.