Sequence diagrams Creating sequence diagram elements The following sections describe how to use the sequence diagram tools to draw the parts of a sequence diagram. For basic information on sequence diagrams, including how to create, open, and delete them, see Graphic editors . Sequence diagram drawing tools The Diagram Tools for a sequence diagram includes the following tools. 674 User Guide Drawing Tool Name Description Instance line Shows how an actors participates in the scenario. For more information, see Creating an instance line. System border Represents the environment.
Events or operations that do not come from instance lines shown in the chart are drawn coming from the system border. For more information, see Creating a system border. Message Represents an interaction between parts, or between a part and the environment. A message can be an event, a triggered operation, or a primitive operation. For more information, see Creating a message. Reply message Represents the response from a message sent to a part or the environment. For more information, see Creating a reply message. Create 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. An object can have only one “create arrow.” You can label the create arrow with construction parameters. Destroy arrow Marks the destruction of an object. It is a dotted line from the destroying object to the object being destroyed. It can be either a horizontal line or a message-to-self. For more information, see Creating a destroy arrow. Timeout Indicates when an event stops and might include a parameter indicating the length of the time the event is stopped. This is a type of message that is always communicating with itself. For more information, see Creating a timeout.
Cancelled timeout indicates the condition when an event that has timed out should restart. For more information, see Creating a cancelled timeout. Time interval Can be used to create a waiting state with an event stopping for this predefined interval and then automatically restarting. For more information, see Specifying a time interval. DataFlow Indicates the flow of data between two objects. You can use the Features window to select the flowport to which it is connected on the receiving object and change the value being sent. This connection is also automatically added to the sequence diagram during animation. For more information, see Creating a dataflow.
Partition line Separates phases of a scenario represented in the sequence diagram. For more information, see Creating a partition line.