activity diagram model

18
Software Requirement Activity Diagram Model

Upload: ahmed-zewita

Post on 13-Apr-2017

113 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Activity diagram model

Software Requirement          Activity Diagram Model

Page 2: 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.

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

Page 3: Activity diagram model

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.

Page 4: Activity diagram model

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

Page 5: Activity diagram model

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. 

Page 6: Activity diagram model

Activity or Action State

An action state represents the non-interruptible action of objects. 

Page 7: Activity diagram model

Action Flow

Action flows, also called edges and paths, illustrate the transitions from one action state to another

Page 8: Activity diagram model

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.

Page 9: Activity diagram model

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.

Page 10: Activity diagram model
Page 11: Activity diagram model

Time Event

This refers to an event that stops the flow for a time; an hourglass depicts it.

Page 12: Activity diagram model

Merge Event

A merge event brings together multiple flows that are not concurrent.

Page 13: Activity diagram model

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:

Page 14: Activity diagram model

Sending Signals (Action)

Sending a signal means that a signal is being sent to an accepting activity:

Page 15: Activity diagram model

Final State or End Point

An arrow pointing to a filled circle nested inside another circle represents the final action state.

Page 16: Activity diagram model

Activity PartitionUser do action and system reply  

Page 17: Activity diagram model

EX: 

Page 18: Activity diagram model

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.