Creating activity diagrams

In UML modeling, you can use activity diagrams to model the sequence of actions that must occur in a system or application, or to describe what happens in a business process workflow.

About this task

When you create an activity diagram, you can add and modify activity nodes and edges, and organize them using partitions. You can also select a group of activity nodes and move them to another activity in your model.

In the business process modeling domain, activity diagrams describe the workflow of a business use case. In the system modeling domain, they show the structure of the flow of events in a system use case. Using activity nodes and edges to represent the flow of control and data between the objects in the use case, you can create one or several activity diagrams to illustrate how the activity nodes, activity edges, and other activity diagram model elements relate to each other.

Before UML 2.0, activity diagrams were part of state machines and were referred to as activity graphs. Since UML 2.0 the activity diagram is a distinct diagram, separate from a state machine, that focuses on the tasks that are performed.


Feedback