Activity diagram model -Animesh Niroula Table Of Contents • Overview • Purpose • Difference between Activity diagram model & Flowchart • Initial state or Start Point • Activity or Action State • Action flow • Decision and Branching • Example • Reference Overview • An activity diagram visually presents a series of actions or flow of control in a system similar to a flowchart 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 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. Difference between Activity diagram model & Flowchart Activity Diagram Flowchart A graphical representation of workflows of stepwise activities and actions with support for choice, iteration, and concurrency A diagrammatic representation that illustrates a solution model to a given problem Helps to understand the business process or workflow of the system Helps to analyze and design a program Associated with UML Associated with programming 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. Activity or Action State An action state represents the non-interruptible action of objects. Action flow • Action Flows, also called edges and paths, illustrate the transitions from one action state to another Decision 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. Example Reference • https://pediaa.com/what-is-the-difference-between-activity-diagram-and-flowchart/ • https://www.slideshare.net/ahmedzewita/activity-diagram-model#