--- title: "activity-diagrams" aliases: tags: - info201 --- [](https://i.imgur.com/zpwJJ5d.png) [](https://i.imgur.com/PKHcpMx.png) ### 3.4 Activites and transitions [](https://i.imgur.com/1G14Ntn.png) - activities - take place over some pariod of time - linked by transitions (arrows) - only one starting point potentaily many ending conditions - Transitions - have guard conditions that must be satisfied before the transition can occur ### 3.5 Decision points - represent conditional branching - two or more alternative transitions depending on condition - every transiiton exiting the decision point must have a guard condition [](https://i.imgur.com/KCufkgX.png) ### 3.6 Synchonisation bars - represents two or more activites running in parallel - transitions can be split into mutiple paths and recombined later - if a workflow is split then it must be recombined on the same diagram [](https://i.imgur.com/IVfP7vt.png) ### 3.7 swim lanes - same as BPMN - show who is responsible for a process - can represent - business organisations - depts - people (actors) - can simplify processes [](https://i.imgur.com/cRiZjtE.png) ### 3.8 relationships to use cases - use case diagrams show the high level interactions between actors and cases - high level activity diagrams show the sequence of use cases within a workflow [](https://i.imgur.com/3b9f2va.png) #### 3.8.1 example [](https://i.imgur.com/dKHjIdu.png) [](https://i.imgur.com/yCAjqkZ.png) [](https://i.imgur.com/RifaVaq.png) ### 3.9 Example producing a book [](https://i.imgur.com/X5aFAt2.png) [](https://i.imgur.com/AKVAshk.png)