Working with Statechart Diagram

To create a Statechart Diagram:

  1. Select first an element where a new Statechart Diagram to be contained as a child.
  2. Select Model | Add Diagram | Statechart Diagram in Menu Bar or select Add Diagram | Statechart Diagram in Context Menu.

In Statechart Diagram, you can use following elements.

See also

UML Statechart Diagram
For more information about UML Statechart Diagram.

State

To create a Simple State:

  1. Select Simple State in Toolbox.
  2. Drag on the diagram as the size of Simple State.

To create a Composite State:

  1. Select Composite State in Toolbox.
  2. Drag on the diagram as the size of Composite State.

To create a Submachine State:

  1. Select Submachine State in Toolbox.
  2. Drag on the diagram as the size of Submachine State.
  3. Select a StateMachine in Element Picker Dialog.

To create an Orthogonal State:

  1. Select Orthogonal State in Toolbox.
  2. Drag on the diagram as the size of Orthogonal State.

To edit a State, you can do following actions:

Internal Activity

To add an Entry Activity:

  1. Select a State.
  2. Select Model | Add | Entry Activity in Menu Bar or Add | Entry Activity in Context Menu.
  3. Select a kind of Activity to create.

To add a Do Activity:

  1. Select a State.
  2. Select Model | Add | Do Activity in Menu Bar or Add | Do Activity in Context Menu.
  3. Select a kind of Activity to create.

To add an Exit Activity:

  1. Select a State.
  2. Select Model | Add | Exit Activity in Menu Bar or Add | Exit Activity in Context Menu.
  3. Select a kind of Activity to create.

Region

To add a Region:

  1. Select a State.
  2. Select Model | Add | Region in Menu Bar or Add | Region in Context Menu.

Initial State

To create a Initial State:

  1. Select Initial State in Toolbox.
  2. Click at the position on the diagram.

Final State

To create a Final State:

  1. Select Final State in Toolbox.
  2. Click at the position on the diagram.

Choice

To create a Choice:

  1. Select Choice in Toolbox.
  2. Click at the position on the diagram.

Join

To create a Join:

  1. Select Join in Toolbox.
  2. Drag on the diagram as the size of Join.

Fork

To create a Fork:

  1. Select Fork in Toolbox.
  2. Drag on the diagram as the size of Fork.

Junction

To create a Junction:

  1. Select Junction in Toolbox.
  2. Click at the position on the diagram.

Shallow History

To create a Shallow History:

  1. Select Shallow History in Toolbox.
  2. Click at the position on the diagram.

Deep History

To create a Deep History:

  1. Select Deep History in Toolbox.
  2. Click at the position on the diagram.

Entry Point

To create a Entry Point:

  1. Select Entry Point in Toolbox.
  2. Click at the position on the diagram.

Exit Point

To create a Exit Point:

  1. Select Exit Point in Toolbox.
  2. Click at the position on the diagram.

Terminate

To create a Terminate:

  1. Select Terminate in Toolbox.
  2. Click at the position on the diagram.

Connection Point Reference

To create a Connection Point Reference:

  1. Select Connection Point Reference in Toolbox.
  2. Click on a State where Connection Point Reference to be contained.

Transition

To create a Transition (or Self Transition):

  1. Select Transition (or Self Transition) in Toolbox.
  2. Drag from a State and drop on another State. (Just click on a State if you want to create a Self Transition.)

To edit a Transition, you can do following actions: