tfm-report/img/problem-break-sub-graph.dot

23 lines
525 B
Text
Raw Normal View History

digraph pdf {
entry [label="enter f()",style=filled];
entry -> {while; D};
2019-12-09 22:47:00 +01:00
while [label="while (X)",style=filled];
C [style="bold,filled"]
2019-12-09 22:47:00 +01:00
"if (Y)" [style=filled]
"if (Z)" [style=filled]
while -> {"if (Y)" C};
break2 [style=filled]
break1 [style=filled]
2019-12-09 22:47:00 +01:00
"if (Y)" -> {"if (Z)"};
"if (Z)" -> {A break1};
break1 -> B;
break1 -> break2;
break2 -> {C while};
{rank=same; A break1 B break2}
2019-12-09 22:47:00 +01:00
{rank=same; "if (Z)" C}
{rank=same; while D}
{edge [style=invis];
A -> break1 -> B -> break2;
}
}