Stateflow | ![]() ![]() |
Moving Transitions
You can move transition lines with a combination of several individual movements. These movements are described in the following topics:
In addition, transitions move along with the movements of states and junctions. See Setting Smart Behavior in Transitions for a description of smart and nonsmart transition behavior.
Bowing the Transition Line
You can move or "bow" transition lines with the following procedure:
The result is a bowed transition line. Repeat the preceding steps to move the transition back into its original shape or into another shape.
Moving Transition Attach Points
You can move the source or end points of a transition to place them in exact locations as follows:
The appearance of the transition changes from a solid to a dashed line when you detach and release a destination attach point. Once you attach the transition to a destination, the dashed line changes to a solid line.
The appearance of the transition changes to a default transition when you detach and release a source attach point. Once you attach the transition to a source, the appearance returns to normal.
Moving Transition Labels
You can move transition labels to make the Stateflow diagram more readable. To move a transition label, do the following:
If you mistakenly click and then immediately release the left mouse button on the label, you will be in edit mode for the label. Press the Esc key to deselect the label and try again. You can also click the mouse on an empty location in the diagram editor to deselect the label.
![]() | Labeling Transitions | Changing Transition Arrowhead Size | ![]() |