Professional Documents
Culture Documents
Activity Diagrams
• Activity diagrams are particularly useful in connection with
workflow and in describing behavior that has a lot of parallel
processing.
Decomposing an activity
• An activity can be broken down into sub activities.
• It is similar to super state and sub states on a state
diagram.
• The parent diagram can be decoupled from the
contents of the subsidiary diagram.
Using a composite activity for delivery
Dynamic Concurrency
•It helps to show iterations without having to construct a
loop.
•The activity fill line item is executed once for each line item
on the order.
•The multiplicity marker * indicates that the activity is
executed many times.
•The transition to deliver order is triggered only when all the
line items have been filled.
Swimlanes
Strength
Disadvantage
• Do not make the links among actions and objects very clear.
When to use activity diagrams
• Analyzing a Use Case
• Understanding workflow