Reputation: 31
How to represent condition statement in sequence diagram?
if(action == "Email"){
sendMail();
}else{
sentTextMesaage();
}
Which is good option in UML Gaurd, Option or Alternatives?
Upvotes: 2
Views: 3268
Reputation: 36313
In that case you would use an alt
fragment:
The guard appears inside the segments of the fragment.
Upvotes: 5