I have seen switch-case recommendations for activity diagram, however I can not find an example for sequence diagram. Do we have to use break
keyword while drawing or just drawing conditions only?
Asked
Active
Viewed 7,665 times
5

Deniz
- 378
- 3
- 16
-
I will use conditions for this. Have a look at this: https://stackoverflow.com/a/47403292/529187 – Devs love ZenUML Oct 27 '19 at 12:04
-
@XiaoPeng-ZenUML.com I also did similar but not sure – Deniz Nov 01 '19 at 08:42
1 Answers
9
I use the alternative block with more than one condition in them, see the pic above
I am not sure about the correctness of this but I use this way to use the switch case in the sequence diagram and it is posted at the link below: http://www.tracemodeler.com/articles/a_quick_introduction_to_uml_sequence_diagrams/

bhanu pratap
- 626
- 7
- 10