All of the UML diagram types share common context menu commands. To use the context menu for a diagram, right click in the Diagram view.
To view the common context menu commands, see Common Diagram Context Commands.
You can model sequence diagrams using either UML 1.4 or UML 2.0 features.
The sequence diagram context menu offers a special context command, named New with a submenu for adding new elements to the sequence diagram:
The New command for the sequence diagram offers a submenu with the following options:
Choosing Object adds an object element to the diagram.
Choosing Actor adds an actor element to the diagram.
Choosing Note adds a note element to the diagram.
To refer to an element located outside of the current diagram, or to another diagram, you can use shortcuts. Invoking the Shortcut command displays a selection dialog, where you can choose the desired element (or diagram) from the appropriate location.
Draw and edit a sequence diagram, and then use this command to generate source code. For more information, see Generating Source Code from Sequence Diagrams.
Together automatically synchronizes changes between the sequence diagram and class diagram. If problems exist on the sequence diagram, they will be highlighted on the diagram in red. Use AutoFix to correct these problems. Upon selecting AutoFix, the Solve Problems dialog displays:

The problem will be described in the list on the left side of the dialog. Select the problem from the list that you wish to correct, and use the options listed under the "Available Solutions" list to fix. Click "Apply" and "Finish" to exit the dialog.
The AutoLink Labels command displays a dialog if there are operations on the diagram that were previously saved and unlinked using the Autofix dialog.
Using this command you can convert your sequence diagram into its corresponding collaboration diagram. The resulting collaboration diagram displays in the Diagram view.
While working with UML 2.0 features enabled, the context menu of the diagram allows you the same commands as discussed above in the UML 1.4 section.