Stateflow User's Guide Previous page   Next Page

Drawing a Supertransition Into a Subchart

Use the following steps to draw a supertransition from an object outside a subchart to an object inside the subchart.

  1. Position the mouse cursor over the border of the state.
  1. The cursor assumes the crosshairs shape.

  1. Drag the mouse.
  1. Dragging the mouse causes a supertransition segment to appear. The segment looks like a regular transition. It is curved and is tipped by an arrowhead.

  1. Drag the segment's tip anywhere just inside the border of the subchart.
  1. The arrowhead now penetrates the slit.

    If you are not happy with the initial position of the slit, you can continue to drag the slit around the inside edge of the subchart to the desired location.

  1. Continue dragging the cursor toward the center of the subchart.
  1. A wormhole appears in the center of the subchart.

    A wormhole allows you to open a subchart while drawing a supertransition.

  1. Drag the mouse pointer over the center of the wormhole.
  1. The subchart opens. Now the wormhole and supertransition are visible inside the subchart.

  1. Drag and drop the tip of the supertransition anywhere on the border of the object that you want to terminate the transition.


Previous page  Using Supertransitions to Extend Transitions Drawing a Supertransition Out of a Subchart Next page

© 1994-2005 The MathWorks, Inc.