An activity diagram illustrates the flow(s) of control among activities and actions associated with a particular object or set of objects.
Modelers typically use activity diagrams to illustrate the following:
The flow of a complicated use case
A workflow across use cases
The logic of an algorithm
Figure 6-32 shows an excerpt from an example activity diagram.
Since activity diagrams tend to contain design-level details, it makes sense to put them into design-level packages, such as the one shown in Figure 6-33.