All of the UML diagram types share common context menu commands. To use the context menu for a diagram, simply right click in the Diagram view.
To view the common context menu commands, see Common Diagram Context Commands.
The state diagram offers a special context command, named New with a submenu for adding new elements to the state diagram:
The New command for the state diagram offers a submenu with the following options:
Choosing State adds a state element to the diagram.
Choosing Start adds a start state element to the diagram.
Choosing End adds an end state element to the diagram.
Choosing Object adds an object element to the diagram.
Choosing this command adds a horizontal fork/join element to the diagram.
Choosing this command adds a vertical fork/join 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.