'Do you have to put extend in a sequence diagram?
I wanted to know if you have to put an extend in a sequence diagram. Let's say I have a use case diagram for registration. I have included an extend which is re enter password. Does that have to be in a sequence diagram or do I not put it in?
Thanks
Solution 1:[1]
A SD is used to show a certain sequence of messages in a certain context. If you model a collaboration you tell in which context this collaboration happens. If your context is that where you re-enter the passwort then you show those messages happening there. If you context is the "sunny day" then you just skip that part.
There is no single SD for a system you design. There are as many SDs as you need to make clear how the system works.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | qwerty_so |
