Prev Next

SysML StateMachine Toolbox

When you are constructing SysML models, you can populate the StateMachine diagrams using the icons on the 'SysML StateMachine' pages of the Diagram Toolbox.

The Block that owns the StateMachine diagram is automatically represented by a diagram frame enclosing the StateMachine diagram elements. You can:

  • Hide the frame by right-clicking on the diagram and selecting the 'Hide Diagram Frame' option (and show it again by selecting the 'Show Diagram Frame' option)
  • Make the frame selectable to move or resize it, by right-clicking on it and selecting the 'Selectable' option
  • Create Ports and Parts on the frame and create connectors between them

If set to non-selectable, the frame will auto-resize to fit the bounds of the diagram, expanding from its default size but not shrinking smaller.

Note that diagrams showing Diagram Frames applied under release 14.0 or higher of Enterprise Architect will draw the parent object on the diagram when opened in a release prior to release 14.0.

Access

On the Diagram Toolbox, click on to display the 'Find Toolbox Item' dialog and specify 'SysML n.n StateMachine' (whichever version you are using).

Ribbon

Design > Diagram > Toolbox

Keyboard Shortcuts

Alt+5

SysML StateMachine Objects

Item

Description

State

Declares a significant condition in the life of a SysML Block within its StateMachine.

StateMachine

Describes the life-cycle behavior of a SysML Block in terms of its states and transitions.

Initial

Declares the starting state of the StateMachine.

Final

Declares the ending state of the StateMachine, and its completion.

Choice

Declares a Junction with a mandatory 'else' transition.

History

Represents the last active State of the StateMachine prior to its interruption.

Junction

Declares a decision point at which a Transition branches out into multiple guarded, alternative paths.

Entry

Declares an Entry point between StateMachines, SubstateMachines and Regions.

Exit

Declares an Exit point between StateMachines, SubstateMachines and Regions.

Terminate

Declares a termination State in which the StateMachine no longer operates.

Fork/Join

Simultaneously branches and joins a set of Transitions.

SysML State Relationships

Item

Description

Transition

Establishes a life-cycle path between one State and another, based on its operational conditions.

Additional

Item

Description

Event

Depicts the action of sending a signal.

Signal

A specification of Send request instances communicated between objects.

Trigger

Indicates an event that initiates an action (and might arise from completion of a previous action).