Prev Next

SysML Activity Toolbox

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

The element that owns the Activity diagram is automatically represented by a diagram frame enclosing the Activity 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 structural elements (e.g. ActivityParameters if the owner is an Activity) on the frame and create connectors between them and other elements on the diagram

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 Activity' (whichever version you are using).

Ribbon

Design > Diagram > Toolbox

Keyboard Shortcuts

Alt+5

SysML Activities

Item

Action

Activity

Defines a SysML Block of executable behavior as a UML Activity.

Structured Activity

Defines a SysML Block of executable behavior as a UML Structured Activity.

Action

Declares a unit of execution in an Activity as a UML Action.

Action (call behavior)

Declares a unit of execution that calls another behavior.

Action (accept event)

Declares a unit of execution that accepts an event raised by the system.

Action (accept event timer)

Declares a unit of execution that accepts an event raised by a time epoch.

Action (send signal)

Declares a unit of execution that sends a signal as an event.

Action Pin

Defines the data values passed out of and into an Action. See also: Action Pin

Partition

Creates an Activity Partition to group execution elements according to the node responsible for their execution.

Control Operator

Controls the execution of an Activity.

Parameter

Provides access to input and output objects within the Activity.

Parameter (discrete)

Defines a parameter with a rate of flow where the increment of time between items is non-zero.

Parameter (continuous)

Defines a parameter with a rate of flow where the increment of time between items approaches zero.

Parameter (optional)

Defines a parameter whose contents are optional in the Activity's execution.

Parameter (probability)

Tags a parameter with the probability of the parameter being in use in the Activity.

Object Node

Declares a variable in the Activity, typed by a ValueType, DataType or Block.

Object Node (no buffer)

Declares an ObjectNode in an Activity that discards unconsumed tokens.

Object Node (overwrite)

Declares an ObjectNode in an Activity that overwrites tokens.

Central Buffer Node

Declares an ObjectNode that stores tokens for consumption throughout the Activity.

Datastore

Defines permanently stored data. See also: Datastore

Decision

Creates a branch of control in an Activity, based on a decision.

Merge

Merges two or more Activity control branches.

Synch

Establishes a rendezvous point for two or more Activity flows, in order to synchronize their execution in the Activity.

Initial

Declares the start of an Activity's execution.

Final

Declares the end of an Activity's execution, and the termination of the Activity.

Flow Final

Declares the end of an Activity's execution path without terminating the Activity.

Region

Groups a subset of an Activity into a common execution context.

Exception

Declares a node of execution that happens outside the normal flow of execution of an Activity.

Fork/Join

Simultaneously branches / joins a set of Control or Object Flows.

SysML Activity Relationships

Item

Action

Control Flow

Establishes a flow of logic between two Activity nodes.

Control Flow (Continuous)

Declares a continuous control flow.

Control Flow (Discrete)

Declares a discrete control flow.

Control Flow (Probability)

Tags a control flow with a probability of the likelihood of the flow's traversal.

Object Flow

Establishes a flow of objects (data) between two Activity nodes.

Object Flow (Continuous)

Declares a continuous object flow.

Object Flow (Discrete)

Declares a discrete object flow.

Object Flow (Probability)

Tags an object flow with the probability of the flow's traversal.

Interrupt Flow

Declares a control flow that interrupts flow within a Region.

SysML Activity Extensions

Item

Action

Enhanced Functional Flow Block Diagrams

Action: Declares an Activity used to contain an Enhanced Functional Flow Block diagram (EFFBD).

Streaming Activity

Declares an Activity where the flow of tokens passes through its parameters continuously throughout the Activity's execution.

Non-Streaming Activity

Declares an Activity where the flow of tokens passes through its parameters at the start of the Activity's execution.