How to show an If else condition in a UML system sequence diagram

Is it possible to describe the if-else structure in a system sequence diagram? If so, how is this done?

+3
source share
3 answers

Here's more information about the merged snippets from the VS 2010 sequence diagram documentation:

+5
source

Yes, you can do this in UML 2 using the "Alternative" combo fragment type , although I personally find them relatively difficult to read. This is an IBM developerWorks article .

+4
source

Yes. This can be done in sequence diagrams. Not only otherwise, you can show loops, breaks and parallel, etc. You need to examine the combined fragment , which is a subtype of the interaction fragment, for this.

0
source

Source: https://habr.com/ru/post/918198/


All Articles