Activity Diagram Model An activity diagram visually presents a series of actions or flow of control in a system similar to a flowshart or a data flow diagram. Activity diagrams are often used in business process modeling.
2. ď‚´ An activity diagram visually presents a series of actions or flow
of control in a system similar to a flowshart or a data
flow diagram. Activity diagrams are often used in business
process modeling.
ď‚´ Contrary to use case diagrams, in activity diagrams it is
obvious whether actors can perform business use cases
together or independently from one another
Overview
3. Purpose:
ď‚´Draw the activity flow of a system.
ď‚´Describe the sequence from one activity to
another.
ď‚´Describe the parallel, branched and
concurrent flow of the system.
4. How to draw Activity Diagram?
before drawing an activity diagram we should identify
the following elements:
ď‚´ Initial State or Start Point
ď‚´ Activity or Action State
ď‚´ Object Flow
ď‚´ Decisions and Branching
ď‚´ Synchronization
ď‚´ Time Event
ď‚´ Final State or End Point
5. Initial State or Start Point
ď‚´A small filled circle followed by an arrow represents
the initial action state or the start point for any
activity diagram.
6. Activity or Action State
ď‚´ An action state represents the non-interruptible action of
objects.
7. Action Flow
ď‚´Action flows, also called edges and paths,
illustrate the transitions from one action state
to another
8. 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.
9. Synchronization
ď‚´A fork node is used to split a single incoming
flow into multiple concurrent flows. It is
represented as a straight, slightly thicker line
in an activity diagram.
ď‚´A join node joins multiple concurrent flows
back into a single outgoing flow.
ď‚´A fork and join mode used together are
often referred to as synchronization.
10.
11. Time Event
ď‚´ This refers to an event that stops the flow for a time; an hourglass depicts it.
ď‚´
12. Merge Event
ď‚´ A merge event brings together multiple flows that are not concurrent.
13. Accepting an Event (Action)
ď‚´ This action waits for an event to occur. After the event is accepted, the flow that
comes from this action (and is defined in the activity diagram) is executed.
Accepting events is an important element for business processes in activity
diagrams:
18. Where to use Activity Diagrams?
ď‚´Modeling work flow by using activities.
ď‚´Modeling business requirements.(usecase
scenario)
ď‚´High level understanding of the system's
functionalities.
ď‚´Investigate business requirements at a later
stage.