Activity Diagram

The Activity Diagram represents the sequential steps as things progress, such as the processing flow of business and programs.

image

Creating an Activity Diagram

Activity Diagram can be added by the following procedure:

  • Click [Activity Diagram] from [Diagram] on the Main Menu.

  • Use the context menu from [Structure] in [Project View].


Diagram Elements of the Activity Diagram

image
Description of each icon

Type

Icon

Description

Select

select_icon

The basic operations of the Diagram Editor can be executed in this mode.

Partition [Vertical]

swimlane_icon

Add a Partition [Vertical].

Partition [Horizontal]

swimlane_h_icon

Add a Partition [Horizontal]

Initial Node

initial_state_icon

Add an Initial Node.

Action

action_state_icon

Add an Action.

CallBehaviorAction

callbehavioraction_icon

Add a CallBehaviorAction.

Activity Final

final_state_icon

Add an Activity Final.

Flow Final Node

flowfinalnode_icon

Add a Flow Final Node.

ControlFlow

control_flow_icon

Add a ControlFlow.

ObjectFlow

object_flow_icon

Add a ObjectFlow.

DecisionNode

choicepseudostate_icon

Add a DecisionNode.

Merge Node

merge_icon

Add a Merge Node.

Fork Node

fork_icon

Add a Fork Node.

Fork Node

rotated_fork_icon

Add a landscape Fork Node. Select from the pull-down of the Fork Node icon.

JoinNode

join_icon

Add a JoinNode.

JoinNode

rotated_join_icon

Add a landscape JoinNode. Select from the pull-down of the JoinNode icon.

InputPin

input_pin_icon

Add an InputPin.

OutputPin

output_pin_icon

Add an OutputPin.

ObjectNode

object_node_icon

Add an ObjectNode.

Activity ParameterNode

activity_parameter_node_icon

Add an Activity ParameterNode.

SendSignalAction

sending_icon

Add a SendSignalAction.

AcceptEventAction

receipt_icon

Add an AcceptEventAction. Select from the pull-down of the AcceptSignalAction.

AcceptTimeEventAction

time_event_icon

Add an AcceptTimeEventAction. Select from the pull-down of the AcceptSignalAction.

Dependency

dependency_icon

Add a Dependency.

Refer to Common Diagram Elements for information on other items.


Partition

Creating a Partition [Vertical]

Partition [Vertical] can be created by the following procedure:

  • Select [Partition [Vertical] ] swimlane_icon in the Tool Bar and click on the diagram.

image

Creating a Partition [Horizontal]

Partition [Horizontal] can be created by the following procedure:

  • Select [Partition [Horizontal] ] swimlane_h_icon in the Tool Bar and click on the diagram.

image

Editing the Partition

Editing the Name

Name can be edited by the following procedure:

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

image

Creating a Parent Partition

Parent Partition can be created by the following procedure:

  • Select [Create Parent Partition] from the context menu.

imageimage

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

Editing the Represent

Represent can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

  • Double-click the existing Represent to edit.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


Initial Node

Creating an Initial Node

Initial Node can be created by the following procedure:

  • Select [Initial Node] initial_state_icon in the Tool Bar and click on the diagram.

image

Editing the Initial Node

Editing the Name

Name can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


Action

Creating an Action

Action can be created by the following procedure:

  • Double-click on the Activity Diagram.

  • Select [Action] action_state_icon in the Tool Bar and click on the diagram.

image

Inserting the Action in the Flow

The newly created Action can be inserted in the ControlFlow or ObjectFlow.
The procedure below describes how to insert a new Action in the ControlFlow created between two Actions.
  1. Select action_state_icon [Action] in the Tool Bar.

  2. Mouse over the ControlFlow and click on the highlighted ControlFlow.

The connection status between the ControlFlow and new Action changes depending on the clicking position in the Control Flow.

  • Clicking on the start side of the ControlFlow reconnects the start side of the ControlFlow to the newly inserted Action.
    In addition, a new ControlFlow is created with the inserted Action as its end side.
    The guideline is that the start side of the existing Flow is highlighted in a round shape as shown in the figure below.
    image
  • Clicking on the end side of the ControlFlow reconnects the end side of the ControlFlow to the newly inserted Action.
    In addition, a new ControlFlow is created with the inserted Action as its start side.
    The guideline is that the end side of the existing Flow is highlighted in a round shape as shown in the figure below.
    image

Editing the Action

Editing the Action Name

Action name can be edited by the following procedure: To insert a line break in the name, press either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Entry] tab of the Property View.

image

Adding a Stereotype

Stereotype can be added by the following procedure:

  • Select [Add Stereotype] from the context menu.

  • Add a stereotype from the [Stereotype] tab of the Property View.

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

Convert to CallBehaviorAction

Converts an Action into a CallBehaviorAction.

  • Select [Convert to CallBehaviorAction] from the context menu.

image

CallBehaviorAction

Creating a CallBehaviorAction

CallBehaviorAction can be created by the following procedure:

  • Select [CallBehaviorAction] callbehavioraction_icon in the Tool Bar and click on the diagram.

  • Drag the Activity Diagram that to be the CallBehaviorAction from [Structure] and drop it to the Activity Diagram open in the Diagram Editor.

image

Editing the CallBehaviorAction

Editing the CallBehaviorAction Name

CallBehaviorAction Name can be edited by the following procedure: To insert a line break in the name, press either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

image

Creating an Activity Diagram

Create an Activity Diagram from the CallBehaviorAction by the following procedure:

  • Select [Create Nested Diagram] from the context menu of the CallBehaviorAction to which no associated Activity Diagram is set.

  • Double-click the CallBehaviorAction to which no associated Activity Diagram is set on the diagram.

image

Opening the Associated Activity Diagram

Open the Activity diagram from the CallBehaviorAction by the following procedure:

  • Select [Open Diagram] from the context menu of the CallBehaviorAction to which the associated Activity Diagram is set.

  • Double-click the CallBehaviorAction to which the associated Activity Diagram is set on the diagram.

image

Adding a Stereotype

Stereotype can be added by the following procedure:

  • Select [Add Stereotype] from the context menu.

  • Add a Stereotype from the [Stereotype] tab of the Property View.

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

Convert to Action

Converts a CallBehaviorAction into an Action.

  • Select [Convert to Action] from the context menu.

image

Activity Final

Creating an Activity Final

Activity Final can be created by the following procedure:

  • Select [Activity Final] final_state_icon in the Tool Bar and click on the diagram.

image

Editing the Activity Final

Editing the Name

Name can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


Flow Final Node

Creating a Flow Final Node

Flow Final Node can be created by the following procedure:

  • Select [Flow Final Node] flowfinalnode_icon in the Tool Bar and click on the diagram.

Editing the Flow Final Node

Editing the Name

Name can be edited by the following procedure:

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


ControlFlow/ObjectFlow

Creating a ControlFlow/ObjectFlow

ControlFlow/ObjectFlow can be created by the following procedure:

  • Select [ControlFlow] control_flow_icon/[ObjectFlow] object_flow_icon in the Tool Bar.

  • Select [ControlFlow]/[ObjectFlow] in the Draw Suggest.

Editing the ControlFlow/ObjectFlow

Name Setting

The name of the ControlFlow/ObjectFlow can be set by the following procedure: To insert a line break in the name, click either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

image

Setting a Guard

Guard can be set by the following procedure: To insert a line break in the Guard, click either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

Setting a Weight

Weight can be set by the following procedure: To insert a line break in the Weight, click either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.


DecisionNode and MergeNode

Creating DecisionNode and MergeNode

DecisionNode and MergeNode can be created by the following procedure:

  • Select [DecisionNode] choicepseudostate_icon in the Tool Bar.

  • Select [Merge Node] merge_icon in the Tool Bar.

Editing the DecisionNode and MergeNode

Editing the Name

Name can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


ForkNode and JoinNode

Creating ForkNode and JoinNode

ForkNode and JoinNode can be created by the following procedure: These are represented in the same way on the diagram and are sometimes called Sync Bars.

  • Select [ForkNode] fork_icon rotated_fork_icon in the Tool Bar.

  • Select [JoinNode] join_icon rotated_join_icon in the Tool Bar.

Note

To create a Sync Bar that is independent of the lane, use [Synchronization Bar-Independent Mode] independent_bar_icon on the Tool Bar.

Editing the ForkNode and JoinNode

Editing the Name

Name can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.


InputPin and OutputPin

Creating InputPin and OutputPin

InputPin and OutputPin can be created by the following procedure:

  • Select [InputPin] input_pin_icon in the Tool Bar and click on the diagram.

  • Select [OutputPin] output_pin_icon in the Tool Bar and click on the diagram.

image

Editing the InputPin

Editing the Pin Name

Pin name can be edited by the following procedure:

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Object Name] of the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the Type, Ordering, Upper Bound, and Control


ObjectNode

Creating an ObjectNode

ObjectNode can be created by the following procedure:

  • Select [ObjectNode] object_node_icon in the Tool Bar and click on the diagram.

image

Editing the ObjectNode

Editing the ObjectNode Name

ObjectNode name can be edited by the following procedure:

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

image

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Editing the type, Ordering, Upper Bound, and Control

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

ActivityParameterNode

Creating an ActivityParameterNode

ActivityParameterNode can be created by the following procedure:

  • Select [ActivityParameterNode] activity_parameter_node_icon in the Tool Bar and click the border of the frame.

image

Editing the ActivityParameterNode

Editing the Name/Type

Name/Type can be edited by the following procedure:

  • Double-click the name/Type of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

image

Name/Type Visibility

Select [Name Visibility] or [Type Visibility] to switch the visibility.

image

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

SendSignalAction and AcceptEventAction

Creating SendSignalAction and AcceptEventAction

SendSignalAction and AcceptEventAction can be created by the following procedure:

  • Select [SendSignalAction] sending_icon in the Tool Bar and click on the diagram.

  • Select [AcceptEventAction] receipt_icon in the Tool Bar and click on the diagram.

image

Editing the SendSignalAction and AcceptEventAction

Editing the name of SendSignalAction/AcceptEventAction

The names of SendSignalAction/AcceptEventAction can be edited by the following procedure: To insert a line break in the name, press either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from [Entry] in the [Entry] tab of the Property View.

image

Reverse Signal

Reverse the selected signal left and right by the following procedure:

  • Select [Reverse Signal] from the context menu.

image

Adding a Stereotype

Stereotype can be added by the following procedure:

  • Select [Add Stereotype] from the context menu.

  • Add a Stereotype from the [Stereotype] tab of the Property View.

Stereotype Visibility …

Sets the stereotype display of figure elements individually.

image

AcceptTimeEventAction

Creating an AcceptTimeEventAction

AcceptTimeEventAction can be created by the following procedure:

  • Select [AcceptTimeEventAction] time_event_icon in the Tool Bar and click on the diagram.

image

Editing the AcceptTimeEventAction

Editing the AcceptTimeEventAction Name

AcceptTimeEventAction name can be edited by the following procedure: To insert a line break in the name, press either SHIFT + ENTER, ALT + ENTER, or CTRL + ENTER.

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from [Entry] in the [Entry] tab of the Property View.

image

Adding a Stereotype

Stereotype can be added by the following procedure:

  • Select [Add Stereotype] from the context menu.

  • Add a Stereotype from the [Stereotype] tab of the Property View.


Dependency

Creating a Dependency

Dependency can be created by the following procedure:

  • Select [Dependency] dependency_icon in the Tool Bar.

image

Editing the Dependency

Editing the Name

Name can be edited by the following procedure:

  • Double-click the name of the diagram element on the Diagram Editor and edit the name.

  • Edit from the [Base] tab in the Property View.

Editing the Definition

Definition can be edited by the following procedure:

  • Edit from the [Base] tab in the Property View.

Adding a Stereotype

Stereotype can be added by the following procedure:

  • Select [Add Stereotype] from the context menu.

  • Add a Stereotype from the [Stereotype] tab of the Property View.