Reputation: 31
How to represent nesting of conditionals in sequence diagram? The image as given in this SO post depicts if/else:
How could I cater for the following:
if(a == 1 && b == 3) {
}else {
}
I need to represent multiple boolean conditions. I could not find anywhere that taught me to represent this.
Upvotes: 3
Views: 1317
Reputation: 4090
The answer here is quite simple:
Replace the value of the [Success]
guard (as seen in diagram above) with [a==1 && b==3]
References:
Upvotes: 3