4/11/2024 0 Comments Sequence diagrams if then elseHowever, for the Conditional Node you also display the Element Properties window, which has an additional 'Condition' tab. Much of this you can complete as for any other element. When you create a Conditional Node, the element 'Properties' dialog displays. If you try to shrink the node below the structure size, the node automatically defaults to the 'best fit' size. The elements are aligned on the top left of the partition, so that resizing the node maintains the organization of the structure within and between the partitions. You define Conditional Nodes by dragging other Activity diagram elements from the Toolbox page into the appropriate partition of the element, and linking and organizing the structure as required. The representation of a Conditional Node on an Activity diagram resembles this: The Conditional Node itself has a result ActionPin that makes available the overall result of the Node (the output of the first Body to be executed). You can have more than one Clause, so that if the Test condition is not satisfied its Body is ignored and processing moves to the next Clause and evaluates another Test condition.Įach Clause has a 'Decider' ActionPin to hold the result of the Test, and a 'Body Output' ActionPin to hold the result of the Body's actions (if executed). A Body partition that performs one or more actions if the Test condition is satisfied.A Test partition that evaluates a condition, and.At its simplest, it consists of a Clause containing: A Conditional Structured Activity Node is the modeling equivalent of an 'If-Then-Else' programming construct.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |