12. Sequence diagram

We have discussed class, object and use case diagrams. Another important type of UML diagram is called the 'sequence diagram'. A sequence diagram shows the dynamic aspect of the system. It shows the interactions between objects, and as importantly, it shows the order in which they happen (unlike use case).

The sequence diagram runs horizontally to signify objects and it runs vertically to show time sequence. Like this:

sequence diagram

UML specifies a number of graphical elements to depict different actions. Some are shown below (there are quite a few others as well)

Actor. An actor is a person, organisation or any other entity that is not part of the system but they do trigger an use case within the system uml actor
Object. A discrete part of the system UML object
Action. An activity or process undertaken by an actor or object UML action
Message. A communication between objects UML message
Return message. A response from an object UML sequence return message

:

 

 

 

Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: UML use case

 

 

 

Copyright © www.teach-ict.com