Creating sequence diagram elements Drawing an arrow An arrow marks when an instance is created. It can originate from the system border or another instance. It is a horizontal, dotted line from the creator object to the new object. Every object can have at most one create arrow. You can label the create arrow with construction parameters. Creating a destroy arrow A destroy arrow marks the destruction of an object. It is a dotted line from the destroying object to the object being destroyed. The destroy arrow is red and is not labeled. It can be either a horizontal line or a message-to-self. Creating a condition mark A condition mark (or state mark) is displayed on an instance line.
A condition mark shows that the object has reached a certain condition or is in a certain state. Often, the name corresponds to a state name in the statechart for an object. 1. Select the condition mark using the Select arrow. 2. Click-and-drag a selection handle to resize the condition mark. The condition mark remains centered over the instance line. If necessary, other elements on the sequence diagram are adjusted to accommodate the new size. Rational Rhapsody 693