What Is a Flow Graph?
A flow graph is a graphical construct that models logic patterns
by using connective junctions and transitions. The junctions provide
decision branches between alternate transition paths. You can use
flow graphs to represent decision and iterative loop logic.
Here is an example of a flow graph that models simple if-else logic:

This flow graph models the following code:
if (u > 0)
{
y = 1;
}
else
{
y = 0;
}
 | Modeling Logic Patterns and Iterative Loops Using Flow Graphs | | Difference Between Flow Graphs and State Charts |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit