| Stateflow User's Guide |
 |
Creating Flowcharts with Connective Junctions
Connective junctions provide a decision point between alternate transition paths. You use them to handle situations where transitions out of one state into one of two or more states are taken based on the same event but guarded by different conditions.
The following sections describe how to create, move, and specify properties for connective junctions:
Creating a Connective Junction
To create a junction, do the following:
- In the diagram toolbar, click the Connective Junction tool
.
- Move the cursor into the diagram editor.
- The cursor takes on the shape of a connective junction.
- Click to place a connective junction in the desired location in the drawing area.
To create multiple connective junctions, do the following:
- In the diagram toolbar, double-click the Connective Junction tool.
- The button is now in multiple object mode.
- Click anywhere in the drawing area to place a connective junction in the drawing area.
- Move to and click another location to create an additional connective junction.
- Click the Connective Junction tool or press the Esc key to cancel the operation.
To move a connective junction to a new location, click and drag it to the new position.
Changing Connective Junction Size
To change the size of connective junctions, do the following:
- Select the connective junctions whose size you want to change.
- Place the cursor over one of the connective junctions and right-click.
- In the resulting submenu, place the cursor over Junction Size.
- A menu of junction sizes appears.
- Select a size from the menu of junction sizes.
| Changing Transition Properties | | Changing Junction Properties |  |
© 1994-2005 The MathWorks, Inc.