tfm-report/img/cfgsimple.dot
2019-12-09 11:48:24 +00:00

13 lines
329 B
Text

digraph g {
subgraph a {
Start [shape=box,label="Enter"];
End [shape=box,label="Exit"];
f [label=<f (a, b)>]
Start -> "a = 10" -> "b = 20" -> f -> End;
}
subgraph b {
s [shape=box,label=<Enter>];
End2 [shape=box,label=<Exit>];
s -> "while (x > y)" -> "x = x - 1" -> "while (x > y)" -> "print(x)" -> End2;
}
}