Hi,
I am currently developing some sequence diagrams.
How do I create an Option combined fragment? I can see how to do the Alternative and the Loop, but what about if I just have an ‘if’ with no else? I need to create a combined fragment with the ‘opt’ keyword.
Thanks,
Michael.
Jick
April 2, 2007, 9:30am
2
Hi Michael,
Please right-click on the combined fragment and select Operator Kind > Opt from the popup menu.
Best regards,
Jick
Thanks for that Jick. I knew it was there somewhere, but couldn’t find a reference to it in the help.
Now that I have the Option fragment, how do I set the condition that triggers that fragment (e.g. “isValid == true”).
Thanks again,
Michael.
Jick
April 2, 2007, 10:02am
4
Hello Michael,
I think that you have to define the Guard of the interaction operand, is it?
Right-click on the combined fragment
Select Open Specification from the popup menu
Open the Interaction Operands tab
Select the first interaction operand and click the Open Specification button
Open the Guard tab
Define the Guard there
Please let me know if this is what you are looking for.
Best regards,
Jick
Thanks again, Jick! That is exactly what I was looking for!
Cheers,
Michael.