Presentation is loading. Please wait.

Presentation is loading. Please wait.

Activity Diagrams Dan Fleck Coming up: Activity Diagram.

Similar presentations


Presentation on theme: "Activity Diagrams Dan Fleck Coming up: Activity Diagram."— Presentation transcript:

1 Activity Diagrams Dan Fleck Coming up: Activity Diagram

2 Activity Diagram Supplements the use-case by providing a diagrammatic representation of procedural flow Details: Start is a single circle End is a bulls-eye Decisions are diamonds (guards must be on both branches of the diamond!) Questions: Do we always have a start? Do we always have an end? How might we make this better? Coming up: Swimlane Diagrams

3 Swimlane Diagrams Allows the modeler to represent the flow of activities described by the use-case and at the same time indicate which actor (if there are multiple actors involved in a specific use-case) or analysis class has responsibility for the action described by an activity rectangle Diagram from Netbeans UML (UMLProject1) Coming up: Activity Diagram Example

4 Activity Diagram Example
Fork/Branch To show concurrent activity, activity diagrams allow branches and joins. You can also reference or include other activity diagrams Got here Class -- Sept 30th 2008 Join Coming up: Lets Try It

5 Lets Try It Lets create a swimlane activity diagram for opening a Lemonade stand. Let’s create a swimlane diagram to apply for and get a job when you graduate. Software that translates voice commands into user input (for whatever OS you use) Let’s create a swimlane diagram for withdrawing money from an ATM. – Nope – this is essentially the homework for next week! End of presentation


Download ppt "Activity Diagrams Dan Fleck Coming up: Activity Diagram."

Similar presentations


Ads by Google