JMU
UML Activity Diagrams
An Introduction


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Overview
Symbology
Representation and Interpretation
An Example
activity-diagram_wash-hair-1
Additional Elements
An Example Revisited
activity-diagram_wash-hair-2
Why Use Merge Nodes?
Still More Elements
A Larger Example

Courtesy of Introduction to Software Engineering and Design (Fox, 2006)

activity-diagram_do-laundary
The Larger Example with Object/Data Nodes
activity-diagram_do-laundary_object-nodes
Sequential and Parallel Actions
An Example with Parallel Actions
activity-diagram_prepare-breakfast-special
Compare the Following Activity Diagrams
activity-diagram_do-laundary_comparison
Abstraction and Sub-Activities