![]() They are used to show the transition from one activity state to another. ![]() An activity state can have multiple incoming and outgoing action flows. We use a line with an arrow head to depict a Control Flow. If there is a constraint to be adhered to while making the transition it is mentioned on the arrow. In the UML, a control-flow transition is shown as a solid line from a source action state to a target action state. In the UML, an object-flow transition is shown as a dashed arrow between an action state and an object. An action state that uses an object as input is shown with the object-flow transition arrow pointing from the object to the action state. An action state that updates or produces an object as output is shown with the object-flow transition arrow pointing from the action state to the object.When we need to make a decision before deciding the flow of control, we use the decision node, such as one incoming transition, and multiple outgoing parallel transitions and/or object flows.A decision node accepts tokens on an incoming edge and presents them to multiple outgoing edges.Which of the edges is actually traversed depends on the evaluation of the guards on the outgoing edges.A merge node is a control node that brings together multiple alternate flows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |