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
images/activity-diagram_wash-hair-1.gif
Additional Elements
An Example Revisited
images/activity-diagram_wash-hair-2.gif
Why Use Merge Nodes?
Still More Elements
A Larger Example

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

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