Is it possible to describe an if-else structure in a system sequence diagram? If yes, how is this done?
Asked
Active
Viewed 1.7k times
3
-
1Here I've found a good answer: http://stackoverflow.com/a/8114797/570339 – Ramy Al Zuhouri Oct 29 '13 at 11:12
3 Answers
5
Here's more info about combined fragments from the VS 2010 sequence diagram documentation:

Esther Fan - MSFT
- 8,276
- 4
- 27
- 25
4
Yes, this can be done in UML 2 using the 'Alternative' combined fragment type, although personally I find them relatively difficult to read. There is a good example in this IBM DeveloperWorks article.

ire_and_curses
- 68,372
- 23
- 116
- 141
0
Yes. This can be done in sequence diagrams. Not only if else,You can show loops, breaks and parallel etc.You have to learn combined fragment which is a sub-type of interaction fragment, to do that.

dulaj sanjaya
- 1,290
- 13
- 25