State Diagram Context Commands

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:

New

The New command for the state diagram offers a submenu with the following options:

State

Choosing State adds a state element to the diagram.

Start

Choosing Start adds a start state element to the diagram.

End

Choosing End adds an end state element to the diagram.

Object

Choosing Object adds an object element to the diagram.

Horizontal Fork/Join

Choosing this command adds a horizontal fork/join element to the diagram.

Vertical Fork/Join

Choosing this command adds a vertical fork/join element to the diagram.

Note

Choosing Note adds a note element to the diagram.

Shortcut

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.