tfm-report/img/nested-unconditional-cfg.dot
Carlos Galindo 20bfa1a8c0 checkpoing
2019-12-09 20:47:09 +00:00

21 lines
No EOL
521 B
Text

digraph cfg {
start -> while [label = T];
while -> "if (Y)";
while -> D [label = "F"];
D -> end;
"if (Y)" -> "if (Z)" [label=T];
"if (Y)" -> C [label=F];
"if (Z)" -> A [label=T];
"if (Z)" -> B [label=F];
//node [color="red"];
A -> break1;
B -> break2;
break1 -> D [label = T];
break2 -> D [label = T];
while [label="while (X)"];
break1 [label = "break"];
break2 [label = "break"];
break1 -> B [style=dashed, label = F];
break2 -> C [style=dashed, label = F];
C -> while;
}