Working with Sequence Diagram¶
To create a Sequence Diagram:
- Select first an element where a new Sequence Diagram to be contained as a child.
- Select Model | Add Diagram | Sequence Diagram in Menu Bar or select Add Diagram | Sequence Diagram in Context Menu.
In Sequence Diagram, you can use following elements.
See also
- UML Sequence Diagram
- For more information about UML Sequence Diagram.
Lifeline¶
To create a Lifeline:
- Select Lifeline in Toolbox.
- Drag on the diagram as the size of Lifeline.
To create a Lifeline from a Classifier (Class, Interface, etc.) by Drag-and-Drop:
- Drag a Classifier from Explorer.
- Drop on the diagram.
To edit a Lifeline, you can do following actions:
- Use Quick Edit for Lifeline by double-click or press
Enter
on a selected Lifeline.
Message¶
To create a Message (or Self Message):
- Select Message (or Self Message) in Toolbox.
- Drag from a Lifeline and drop on another Lifeline. (Just click on a Lifeline if you want to create a self message.)
You can change the kind of message by setting messageSort property in Property Editor:
- synchCall : Synchronous Call
- asynchCall : Asynchronous Call
- asynchSignal : Asynchronous Signal
- createMessage : Create Message
- deleteMessage : Delete Message
- reply : Reply Message
To edit a Message, you can do following actions:
- Use Quick Edit for Message by double-click or press
Enter
on a selected Message.
State Invariant¶
To create a State Invariant:
- Select State Invariant in Toolbox.
- Click on a Lifeline where the State Invariant to be attached.
Continuation¶
To create a Continuation:
- Select Continuation in Toolbox.
- Drag on the diagram as the size of Continuation.
Combined Fragment¶
To create a Combined Fragment:
- Select Combined Fragment in Toolbox.
- Drag on the diagram as the size of Combined Fragment.
To edit a Combined Fragment, you can do following actions:
- Use Quick Edit for Combined Fragment by double-click or press
Enter
on a selected Combined Fragment.
Interaction Use¶
To create a Interaction Use:
- Select Interaction Use in Toolbox.
- Drag on the diagram as the size of Interaction Use.