Professional Documents
Culture Documents
UML Activity Diagrams
UML Activity Diagrams
AA process
process isis aa collection
collection ofof related
related tasks
tasks that
that
transforms
transforms aa set
set ofof inputs
inputs into
into aa set
set of
of outputs.
outputs.
An
An activity
activity diagram
diagram shows
shows actions
actions and
and the
the
flow
flow of
of control
control and
and data
data between
between them.
them.
An
An activity
activity isis aa non-atomic
non-atomic task
task or
or
procedure
procedure decomposable
decomposable intointo actions.
actions.
An
An action
action isis aa task
task or
or procedure
procedure that
that
cannot
cannot be
be broken
broken into
into parts.
parts.
Do Laundry
initial node
Sort
Clothes action node
Wash Wash
Whites Darks
activity symbol
Dry
Clothes
activity edge
Fold
Clothes
Dry Clothes
merge
node Run Drier
[still wet]
RunDrier cannot
Try to Dry
Clothes execute: when the
Run Drier activity begins,
there is a token on
[still wet]
[else]
the edge from the
Fold initial node but not
Clothes
on the other
incoming edge.
Do Laundry
Sort
Clothes fork node
Wash Wash
Whites Darks
Dry
Clothes join node
Fold
Clothes
Battleship
Cruiser
[damaged]
Battlegroup
Destroyer object
[captured] node
state
object node
Clothes
[wet]
data flows
Run Drier
Clothes
[still wet]
[else]
Fold
Clothes
control flow
activity FindMax
parameter a : int[1..*]
max : int
types a
max = a[0]
i=1
input
activity [else]
output
activity
i++
parameter