Documente Academic
Documente Profesional
Documente Cultură
Action Flow
Action flows, also called edges and paths, illustrate the transitions from one action state to another. They
are usually drawn with an arrowed line.
Decisions and Branching
A diamond represents a decision with alternate paths. When an activity requires a decision prior to
moving on to the next activity, add a diamond between the two activities. The outgoing alternates should
be labeled with a condition or guard expression. You can also label one of the paths "else."
Merge Event
A merge event brings together multiple flows that are not concurrent.
Fork
A fork has one flow entering and several exiting. A fork denotes that several processes are occurring in
parallel.
Join
A join has several flows entering it and one exiting it. A join denotes that multiple parallel flows are
merging at a single point. All flows going into the join must be completed before the next activity can
start.
Swimlanes
Swimlanes group related activities into one column.
How to create activity diagram
Activity diagram is a kind of UML diagram that shows flow of control from activity to activity. It
shows concurrency, branch, control flow and object flow. Furthermore, swimlane is used for
partitioning actions based on the participants involved.
Creating activity diagram
Perform the steps below to create a UML activity diagram in Visual Paradigm.
Select Diagram > New from the application toolbar.
In the New Diagram window, select Activity Diagram.
Click Next.
Enter the diagram name and description. The Location field enables you to select a model to
store the diagram.
Click OK
Creating action
Move your mouse pointer over the source shape.
Press on the Resource Catalog button and drag it out.
Release the mouse button at the place where you want the action to be created.
Select Control Flow -> Action from Resource Catalog.
A new action will be created and is connected to the source shape with a control flow. Enter its
name and press Enter to confirm editing.
Case Study
Draw an activity diagram of an ATM for withdrawing cash.
Solution