- Purpose: Primarily used in Unified Modeling Language (UML) to model the flow of activities in a system or process. It’s commonly used in software design and analysis to represent workflows and processes.
- Elements:
- Actions: Represent tasks or steps.
- Control Flows: Show the direction of the process from one action to the next.
- Decisions: Branches that determine which path the process will take.
- Start and End Points: Indicate the beginning and termination of an activity.
- Forks and Joins: Represent parallel processing (e.g., when multiple activities happen simultaneously).
- Swimlanes: Used to divide the diagram into different actors or components that are responsible for different actions.
- Focus: Activity diagrams focus on workflow, concurrency, and the sequence of operations in a more complex and detailed manner.

Activity Diagram