Wednesday, May 31, 2017

Control Flow shape

Control Flow shape

A transition in an activity diagram, a control flow Control Flow shape icon represents a relationship between two states or action states and indicates that an object in the first state will enter the second state and perform specified actions.

The trigger that makes the transition fire is the occurrence of the event that labels the transition. A control flow is shown as a solid arrow from the source state to the target state and is labeled with a transition string with the following format:

event-name (parameters) [guard condition] / action > send-clause

For example:

right-mouse-down (location) [location in window] / object:=pick-object (location) > object.highlight ()

Name a Control Flow shape and add other property values

Open the element's UML Properties dialog box by double-clicking the icon that represents the element in the tree view or the shape that represents the element in a diagram.

Tip

Control which property values display on a shape in a diagram by right-clicking the shape, and then clicking Shape Display Options. In the UML Shape Display Options dialog box, select and clear options to display or hide property values.

Hide a Control Flow shape's guard condition, events, or actions

Right-click the shape, click Shape Display Options, and then clear Guard, Event, or Action.

No comments:

Post a Comment