0% found this document useful (0 votes)
106 views11 pages

Activity Diagram

The document discusses activity diagrams, which represent the flow of activities in a system from one activity to another. An activity diagram shows different types of flows such as sequential, branched, and concurrent. It is used to understand business requirements and flows, rather than implementation details. The diagram contains elements like initial and final nodes, activities, forks, joins, decisions, and merges to depict the flow of control between parallel and conditional activities in a system. Two examples of activity diagrams for an order processing system and a library system are included.

Uploaded by

Nimesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views11 pages

Activity Diagram

The document discusses activity diagrams, which represent the flow of activities in a system from one activity to another. An activity diagram shows different types of flows such as sequential, branched, and concurrent. It is used to understand business requirements and flows, rather than implementation details. The diagram contains elements like initial and final nodes, activities, forks, joins, decisions, and merges to depict the flow of control between parallel and conditional activities in a system. Two examples of activity diagrams for an order processing system and a library system are included.

Uploaded by

Nimesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Activity Diagram

Lesson 9

Dileeka Alwis
NSBM - School of Computing

Lesson 9 1
Activity Diagram
• Represent the flow of the system from one activity to
another activity.
• Activity - an operation of the system.
• Mainly used as a flow chart consists of activities performed
by the system.
• But not exactly a flow chart as they have some additional
capabilities.
– Shows different flow like sequential, branched (split) or concurrent
(parallel).

Lesson 9 2
• Drawn to understand the flow of activities and business
requirements.
• Has more impact on business understanding rather
implementation details.
• Can’t exactly match with the code.
• Mainly for business users or any other person who is not
a technical person.

Lesson 9 3
Elements in Activity Diagram
Initial node
• Starting point of the diagram.
• Only one start.

Final node
• Ending point of the diagram.
• Can have one or more ends.

Lesson 9 4
Activity
• A function performed by the system.
• May be a physical activity or an electronic activity
(eg: Display on Screen).

Flow
• The arrows on the diagram.

Lesson 9 5
Start and end of concurrent threads of control.

Fork
• Denotes the beginning of parallel activities.

Join
• Denotes the end of parallel activities.

Lesson 9 6
Decision
• One flow entering and several leaving.
• The leaving flows include conditions.

Merge
• Several flows entering and one leaving.
• The implication is that one or more incoming flows must
reach this point until processing continues.

Lesson 9 7
Lesson 9 8
Order Processing System

Lesson 9 9
Library
System

Lesson 9 10
Login

Lesson 9 11

You might also like