Activity Diagram.

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 6 State Machine and Activity Diagrams (Based on Stevens and Pooley (2006,
Software Design Process A Process is a set of related and (sequenced) tasks that transforms a set of input to a set of output. Inputs Outputs Design Process.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
Information System Design IT60105
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Introduction to BizAgi. Slide 2 User Interface (Summary) The user interface for BizAgi resembles Office It uses a similar ribbon The Palette contains.
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
UML Activity Diagrams In UML an activity diagram is used to display the sequence of actions They show the workflow from start to finish Detail the many.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
Software modeling for embedded systems: static and dynamic behavior.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
State Diagram. What is State Diagram?  State diagram is used to show the state space of a given class, the events that cause a transition from one state.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
1 CS 426 Senior Projects Chapter 14: Activity Diagrams [Arlow and Neustadt, 2005] February 17, 2009.
Activity Diagrams. What is Activity Diagrams?  Activity diagrams are a technique to describe procedural logic, business process, and work flow.  An.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Activity Diagrams Derived from several techniques: Event diagrams of Jim Odell SDL state modeling techniques Workflow modeling Petri nets Especially useful.
SE-565 Software System Requirements More UML Diagrams.
Software Design Processes and Management
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
CS 325: Software Engineering March 3, 2015 Activity Modeling for Transformational Systems Trtansformational Systems UML Activity Diagrams.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
Business Informatics Group Institute of Software Technology and Interactive Systems Vienna University of Technology Favoritenstraße 9-11/188-3, 1040 Vienna,
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Conceptual Modelling – Behaviour
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Business Informatics Group Institute of Software Technology and Interactive Systems Vienna University of Technology Favoritenstraße 9-11/188-3, 1040 Vienna,
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Information System Design IT60105
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
CS3773 Software Engineering Lecture 06 UML State Machines.
UML Activity Diagrams.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
Activity Diagramming by Andrzej Rosolski Stanisław Gliniewicz.
UML ACTIVITY DIAGRAM 1. Recap Formal Use Case diagram UML notation for use cases Examples 2.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Activity Diagrams IST 420 Dr. Ocker. BPM With Activity Diagrams Business processes consist of a number of activities Activity diagrams depict the sequence.
Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.
Systems Analysis and Design in a Changing World, Fourth Edition
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
UML Chapter 17.
ACTIVITY DIAGRAMS 《UML面向对象建模基础》.
Activity Diagrams.
CHAPTER
Chapter 4: Business Process and Functional Modeling, continued
Unified Modeling Language
Activity and State Transition Diagram
Visit for more Learning Resources
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
Activity Diagrams.
Business System Development
UML Activity Diagrams.
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
UML Activity Diagrams & State Charts
Process Modeling: Activity/Swimlane Diagrams
Activity Diagrams.
Activity diagram It supports visual representation of sequences of actions that target a certain result. May be built for one or many use cases or for.
Appendix 3 Object-Oriented Analysis and Design
Object-Oriented Analysis & Design
Interaction Models (2): Activity Diagrams
Presentation transcript:

Activity Diagram

Introduction Technique to describe procedural logic, business process, and work flow. Activity diagram is basically a flow chart to represent the flow form one activity to another activity(operation of the system). Flow can be sequential, branched or concurrent.  Also used to construct the executable system by using forward and reverse engineering techniques. Activity diagram cannot be exactly matched with the code. The activity diagram is made to understand the flow of activities and mainly used by the business users.

Comparison with other behavior diagram Interaction & State chart diagrams are used to show the message flow from one object to another. Activity diagram is used to show flow from one activity to another. It does not show any message flow from one activity to another. 

How to draw? Before drawing an activity diagram, Have a clear understanding about the elements used in activity diagram. Identify the activities (function performed by the system). Identify Association, Conditions & Constraints Once the above mentioned parameters are identified, make a mental layout of the entire flow. This mental layout is then transformed into an activity diagram.

Components in diagram An activity refers to a sequence of actions, so the diagram shows an activity that's made up of actions. Initial node & Final node (Node represent Action) Flow edge A fork has one incoming flow and several outgoing concurrent flows. A Join – One outgoing flow is taken only when all the incoming concurrent flows reach the join.

Parallelism or Concurrency When you have parallelism, you'll need to synchronize. This is important for business modeling because processes often occur in parallel. It's also useful for concurrent algorithms, in which independent threads can do things in parallel. Notations used: Fork & Join

Decision & Merge Conditional behavior is delineated by decisions and merges. A decision has a single incoming flow and several guarded out-bound flows. Boolean condition is placed inside square brackets. The guards should be mutually exclusive in out-bound flows. A merge has multiple input flows and a single output. It marks the end of conditional behavior started by a decision notation.

Decomposing an Action Actions can be decomposed into subactivities.

Actions can be implemented either as subactivities or as methods on classes. Show a subactivity by using the rake symbol and call on a method with syntax classname::method-name

Partitions Activity diagrams tell you what happens, but they do not tell you who does what. In programming, the diagram does not convey which class is responsible for each action. In business process modeling, this does not convey which part of an organization carries out which action. Divide an activity diagram into partitions, which show which actions one class or organization unit carries out.

Partitions: simple one-dimensional partitioning referred as swim lanes Partitions: simple one-dimensional partitioning referred as swim lanes. Also take each dimension and divide the rows or columns hierarchically.

Signals Actions can also respond to signals. A time signal occurs because of the passage of time. Eg: End of a month in a financial period or Each microsecond in a real-time controller. Signal indicates that the activity receives an event from an outside process. So the activity constantly listens for signals

Signals Cond...