Stateflow    

Transition Flow Graph Types

Before transitions are executed for an active state or for a chart, they are grouped by the following types:

Each set of flow graphs includes other transition segments connected to a qualifying transition segment through junctions and transitions. Consider the following example:

In this example, state A has both an inner and a default transition that connect to a junction with outgoing transitions to states A.A1 and A.A2. If state A is active, its set of inner flow graphs includes the inner transition and the outgoing transitions from the junction to state A.A1 and A.A2. In addition, state A's set of default flow graphs includes the default transition to the junction along with the two outgoing transitions from the junction to state A.A1 and A.A2. In this case, the two outgoing transition segments from the junction become members of more than one flow graph type.


  Executing a Transition Executing a Set of Flow Graphs