Concept Flow - Activity diagrams
Start
Initial Node
Action 1
Decision?
Yes→Action 2
Action 3
Action 4
Merge
Final Node
End
Activity diagrams show the flow of actions from start to end, including decisions and merges.
Start -> Initial Node -> Action1 -> Decision Decision: if yes -> Action2 Decision: if no -> Action3 Actions merge -> Action4 -> Final Node -> End
| Step | Current Node | Condition/Decision | Next Node(s) | Action Taken |
|---|---|---|---|---|
| 1 | Start | None | Initial Node | Begin process |
| 2 | Initial Node | None | Action 1 | Move to first action |
| 3 | Action 1 | None | Decision | Perform Action 1 |
| 4 | Decision | Condition evaluated | Action 2 or Action 3 | Branch based on condition |
| 5 | Action 2 | If decision is Yes | Merge | Perform Action 2 |
| 6 | Action 3 | If decision is No | Merge | Perform Action 3 |
| 7 | Merge | None | Action 4 | Merge branches |
| 8 | Action 4 | None | Final Node | Perform Action 4 |
| 9 | Final Node | None | End | End process |
| 10 | End | None | None | Process complete |
| Variable | Start | After Step 3 | After Step 4 | After Step 7 | Final |
|---|---|---|---|---|---|
| Current Node | Start | Action 1 | Decision | Merge | End |
| Decision Outcome | None | None | Yes or No | None | None |
Activity diagrams model workflows. Start at Initial Node, flow through Actions. Decision nodes split flow by conditions. Merge nodes combine branches. End at Final Node to finish process.
Activity diagram in software engineering?Pass the test and this pattern moves unknown