Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
IT60105
Lecture 09
Activity Diagrams
• UML activity diagrams are the object oriented equivalent of flow chart and
data flow diagrams in function-oriented design approach
S y s t e m
I I T
E n r o l l m e n t
S t u d e n t R e g is t r a r
< < i n c l u d e > >
C o u r s e r e g i s t r a t i o n
H o s t e l
P a y m e n t f e e s M e d i c a l c h e c k
a ll o t m e n t
I s s u e id e n t i t Iy s s u e l ib r a r y
c a r d c a r d
• Initial node
– The filled circle is the starting point
of the diagram
R e c e iv e d f o r m
• Final node
– The filled circle with a boarder is the
ending point. An activity diagram
can have zero or more activity final P a y m e n t f e e
H
s
o s t e l
M e d ic a l c h e
state. a l lo t m e n t
• Activity
– The rounded circle represents
activities that occur. An activity is I s s u e id e n t i t Iy s s u e l ib r a r y
not necessarily a program, it may be c a r d c a r d
– A merge passes any control flows straight through it. If two or more
inflows are received by a merge symbol, the action pointed to by its
outflow is executed two or more times
• Decision
– A diamond with one flow
entering and several leaving. The
flow leaving includes conditions
as yes/ no state
• Flow final
– The circle with X though it. This
indicates that Process stop at this
point
• Swim lane R e c e i v e d f o r m
be horizontal or vertical
1
R e c e iv e d f o r m
H o s t e l
P a y m e n t f e e s M e d i c a l c h e c k
a llo t m e n t
2
I s s u e id e n t i t yI s s u e l ib r a r y
c a r d c a r d
F i l l - i n C h e c k
f o r m f o r m
[ I n c o r r e c t ]
R e g r e t m e s s a g e
[ C o r r e c t ]
D i s p l a y s t u d e n t [ N o t F o u n d ]
s c r e e n
e r i f y V t h e [ F o u n d ]
I n p u t s t u d e n at p p l i c a t i o n s
C r e a t e r e c o r 1d
i n f o r m a t i o n
S e a r c h f o r St u d[ M e a n t ct h ]
s e l e c t i o n l i s t [ N o M a t c h ]
R e g r e t
r e g i s t r a t i o n
D i s p l a y C a l c u l a t e
1 e n r o l l m e n t r f e o g r i ms t r a t i o n f e e s
D i s p a l y f e e s
p a y a b l e s c r e e n
P r o c e s s
p a y m e n t
P a y f e e 2
P r i n t r e c e i p t
F i l l - i n
f o r m
V e r i f y t h e [ F o u n d ]
[ I n c o r r e
ac t p ] p l i c a t i o n s
[ N o t F o u n d ]
C h e c k
R e g r e t m e s s a g e
Registrar
f o r m
[ C o r r e c t ]
D i s p l a y s t u d e n t
s c r e e n
C r e a t e r e c o r d
System
I n p u t s t u d e n t
i n f o r m a t i o n S e a r c h
[ M a t c h ]
1
f o r S t u d e n t
s e l e c t i o n l i[ Ns to M a t c h ]
R e g r e t
r e g i s t r a t i o n
• Activity diagram can also be drawn that cross several use cases, or that address just
a small portion of use case
• The activity diagram can be used to develop interaction diagrams which help to
allocate activities to classes