How to show “if” condition on a sequence diagram?

前端 未结 4 2130
抹茶落季
抹茶落季 2020-11-27 10:04

I was wondering, how can one represent \"if\" statement on a sequence diagram?

if (somethingShouldBeDone) {
       // Do it
} else {
       // D         


        
4条回答
  •  迷失自我
    2020-11-27 10:50

    In Visual Studio UML sequence this can also be described as fragments which is nicely documented here: https://msdn.microsoft.com/en-us/library/dd465153.aspx

提交回复
热议问题