How To Create Activity Diagram In Staruml
Activity Diagram (from uml-diagrams.org)
Create Activity Diagram
To create an Activity Diagram:
-
1 .
Select first an element where a new Activity Diagram to be contained as a child.
-
2 .
Select Model | Add Diagram | Activity Diagram in Menu Bar or select Add Diagram | Activity Diagram in Context Menu.
Action
-
1 .
Select Action in Toolbox .
-
2 .
Drag on the diagram as the size of Action.
You can use QuickEdit for Action by double-click or press Enter on a selected Action.
-
Name Expression : Edit name expression.
Syntax of Name Expression
expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
stereotype ::= (identifier)
visibility ::= '+' | '#' | '-' | '~'
-
Add Input Pin : Add an input pin.
-
Add Output Pin : Add an output pin.
-
Add Note : Add a linked note.
-
Add Constraint : Add a constraint.
-
Add Trigger Event : Add a trigger event.
-
Add Outgoing Control Flow : Add an outgoing control flow with an action.
-
Add Incoming Control Flow : Add an incoming control flow with an action.
-
Add Outgoing Object Flow : Add an outgoing object flow with an object node.
-
Add Incoming Object Flow : Add an incoming object flow with an object node.
-
Add Decision : Add a decision with two additional actions.
-
Add Merge : Add a merge with two additional actions.
-
Add Fork : Add a fork with two additional actions.
-
Add Join : Add a join with two additional actions.
-
Add Initial Node : Add an initial node with a connected control flow.
-
Add Final Node : Add an final node with a connected control flow.
Trigger
-
2 .
Select Model | Add | Trigger in Menu Bar or Add | Trigger in Context Menu.
Initial Node
To create an Initial Node:
-
1 .
Select Initial in Toolbox .
-
2 .
Click at the position on the diagram.
Activity Final Node
To create an Activity Final Node:
-
1 .
Select Activity Final in Toolbox .
-
2 .
Click at the position on the diagram.
Fork Node
-
2 .
Drag on the diagram as the size of Fork.
Join Node
-
2 .
Drag on the diagram as the size of Join.
Merge Node
-
2 .
Click at the position on the diagram.
Decision Node
To create a Decision Node:
-
1 .
Select Decision in Toolbox .
-
2 .
Click at the position on the diagram.
Swimlane (Partition)
To create a Swimlane (Vertical or Horizontal):
-
1 .
Select Swimlane (Vertical) or Swimlane (Horizontal) in Toolbox .
-
2 .
Drag on the diagram as the size of Swimlane.
Interruptible Activity Region
To create an Interruptible Activity Region:
-
1 .
Select Interruptible Activity Region in Toolbox .
-
2 .
Drag on the diagram as the size of Interruptible Activity Region.
Structured Activity Node
To create a Structured Activity Node:
-
1 .
Select Structured Activity in Toolbox .
-
2 .
Drag on the diagram as the size of Structured Activity Node.
Input Pin
-
1 .
Select Input Pin in Toolbox .
-
2 .
Click on an Action where Input Pin to be attached.
Output Pin
-
1 .
Select Output Pin in Toolbox .
-
2 .
Click on an Action where Output Pin to be attached.
Send Signal
-
1 .
Select Send Signal in Toolbox .
-
2 .
Drag on the diagram as the size of Send Signal.
Send Signal is actually an Action whose kind is sendSignal .
Accept Signal
To create an Accept Signal:
-
1 .
Select Accept Signal in Toolbox .
-
2 .
Drag on the diagram as the size of Accept Signal.
Accept Signal is actually an Action whose kind is acceptSignal .
Accept Time Event
To create an Accept Time Event:
-
1 .
Select Accept Time Event in Toolbox .
-
2 .
Drag on the diagram as the size of Accept Time Event.
Accept Time Event is actually an Action whose kind is timeEvent .
Flow Final Node
To create a Flow Final Node:
-
1 .
Select Flow Final in Toolbox .
-
2 .
Click at the position on the diagram.
Object Node
-
1 .
Select Object Node in Toolbox .
-
2 .
Drag on the diagram as the size of Object Node.
You can use QuickEdit for Object Node by double-click or press Enter on a selected Object Node.
-
Name Expression : Edit name expression.
Syntax of Name Expression
expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
stereotype ::= (identifier)
visibility ::= '+' | '#' | '-' | '~'
-
Visibility : Change visibility property.
-
Add Note : Add a linked note.
-
Add Constraint : Add a constraint.
-
Add Outgoing Object Flow : Add an outgoing object flow with an object node.
-
Add Incoming Object Flow : Add an incoming object flow with an object node.
-
Add Outgoing Control Flow : Add an outgoing control flow with an action.
-
Add Incoming Control Flow : Add an incoming control flow with an action.
Central Buffer
To create a Central Buffer:
-
1 .
Select Central Buffer in Toolbox .
-
2 .
Drag on the diagram as the size of Central Buffer.
You can use QuickEdit for Object Node (See Object Node ).
Datastore
-
1 .
Select Datastore in Toolbox .
-
2 .
Drag on the diagram as the size of Datastore.
You can use QuickEdit for Object Node (See Object Node ).
Expansion Region
To create a Expansion Region:
-
1 .
Select Expansion Region in Toolbox .
-
2 .
Drag on the diagram as the size of Expansion Region.
Input Expansion Node
To create an Input Expansion Node:
-
1 .
Select Input Expansion Node in Toolbox .
-
2 .
Click on an Expansion Node where Input Expansion Node to be attached.
Output Expansion Node
To create an Output Expansion Node:
-
1 .
Select Output Expansion Node in Toolbox .
-
2 .
Click on an Expansion Node where Output Expansion Node to be attached.
Control Flow
To create a Control Flow:
-
1 .
Select Control Flow in Toolbox .
-
2 .
Drag from a node and drop on another node.
Object Flow
To create an Object Flow:
-
1 .
Select Object Flow in Toolbox .
-
2 .
Drag from a node and drop on another node.
Exception Handler
To create an Extension Handler:
-
1 .
Select Extension Handler in Toolbox .
-
2 .
Drag from a node and drop on another node.
Activity Interrupt
To create an Activity Interrupt:
-
1 .
Select Activity Interrupt in Toolbox .
-
2 .
Drag from a node and drop on another node.
How To Create Activity Diagram In Staruml
Source: https://docs.staruml.io/working-with-uml-diagrams/activity-diagram
Posted by: lujancoldingaze.blogspot.com

0 Response to "How To Create Activity Diagram In Staruml"
Post a Comment