Activity Diagrams PB007 Software Engineering I Bruno Rossi 14. 10. 2015 Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 1 / 8 Activity Diagrams Activity Diagrams represent the flow of all the steps of an activity. They consist of different types of nodes that are connected with directed edges. The Activities most often represent use cases operations and methods algorithms business processes Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 2 / 8 Basic Elements Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 3 / 8 Activity Diagram - example Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 4 / 8 Swimlanes Activity partitioning / Swimlanes represent a logical grouping of related actions (actors, use cases, ...). In our case they will typically represent different use cases using the relationship include or extend. include Basic and embedded use cases have their own swimlane. extend If the extension point is in Action1 and Action2 is an extends use case, then a decision node is inserted after Action1 from which the flow will go to Action2. After its completion, the flow will go back to Action2. Each use case may be in its own swimlane. Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 5 / 8 Resources http://sourcemaking.com/uml/modeling-business-systems/ external-view/activity-diagrams http://sce.uhcl.edu/helm/rationalunifiedprocess/ process/modguide/md_bactd.htm Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 6 / 8 Tasks Adjust the result of the previous exercise according to the comments and feedback from the instructor. Focus on the revision of the text specification to complete the three use cases from previous sessions; Select other 1-2 use cases and document them by means of the activity diagrams, possibly different from those that you used for the specification. The selection must again be approved by the instructor; Try to understand in the same way the remaining use cases, to be able to at least verbally describe their event streams; Upload the pdf report to the folder (Week 04). Deadline: Monday 19.10. 23:59 (Groups 2,3) Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 7 / 8 Reporting configuration Software Engineering I (PB007) Activity Diagrams 14. 10. 2015 8 / 8