5

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?

2

1 Answer 1

10

use of switch case in sequence diagram 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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.