You are on page 1of 3

Acti

vityDi
agrams–Swi
mlanes
Swimlanesareusefulwhenwearemodeli
ngworkflowsofbusines
sprocess
es to
partitiontheactivi
tystatesofanactivi
tydiagramsintogroups
,eachgroup
representi
ngthebus i
nessorgani
zati
onrespons
ibleforthos
eactiviti
es.
InUMLeachgroupi scalledSwimlanebecauseeachgroupi
sdividedfromits
neighborbyaverticalsoli
dl i
ne.EachSwimlanehasanameuni quewithi
ni ts
diagram.Ifanactivitydiagramispartiti
onedintoSwiml
anes,everyactivity
belongstoexactl
yoneSwi mlane,buttransiti
onsmaycrossl
ines.

Acti
vityDi
agramwi
thSwi
mlanes
Acti
vityDi
agrams–Obj
ectfl
ows
Objectsmaybei nvolvedinthefl owofcontr olas s
ociatedwithanactivity
diagram.Herewecans pecifythethingsthatarei nvolvedinanActivity
Diagrambypl aci
ngthos eobjectsinthedi agramconnectedus ingadependency
totheacti vityortrans i
tionthatcreates ,destroysormodifiesthem.Thisus
e
ofdependencyrel ati
onshipsandObjectsi scall
edanObj ectfl
owbecaus eit
representstheparticipationofanobj ectinafl owofcontrol .
Acti
vityDi
agramwi
thObj
ectfl
ows

You might also like