An Activity diagram is a special form of state diagram that is used to model a sequence of behaviors and conditions taking place within the context of a workflow process. In many perspectives, Activity diagrams are similar to flow charts , except they have the capability to model parallel as well as sequential processes. Activity diagrams can be used to examine workflow logic related to many scenarios, for example:
Activity diagrams are the perfect UML tool for depicting the flow of activities within workflow type scenarios in your system. However, they do not provide details about how objects behave or collaborate with each other, which is an important aspect of any design process. For this reason, Activity diagrams should be used in conjunction with Statechart or Interaction diagrams. The Features of an Activity DiagramActivity diagrams are read from top to bottom and typically consist of the following elements:
Note If an Activity diagram is used to model the flow of activities in a Use Case scenario, the swimlanes would identify which actor is performing the activity. A sample Activity diagram is illustrated in Figure 3.32. Figure 3.32. A example of an Activity diagram showcasing its elements.
|