tfm-report/img/cfgsimple.dot

14 lines
329 B
Text
Raw Permalink Normal View History

2019-10-18 10:54:33 +02:00
digraph g {
2019-12-03 15:12:13 +01:00
subgraph a {
2019-12-09 12:48:24 +01:00
Start [shape=box,label="Enter"];
End [shape=box,label="Exit"];
2019-12-03 15:12:13 +01:00
f [label=<f (a, b)>]
Start -> "a = 10" -> "b = 20" -> f -> End;
}
subgraph b {
2019-12-09 12:48:24 +01:00
s [shape=box,label=<Enter>];
End2 [shape=box,label=<Exit>];
2019-12-03 15:12:13 +01:00
s -> "while (x > y)" -> "x = x - 1" -> "while (x > y)" -> "print(x)" -> End2;
}
2019-10-18 10:54:33 +02:00
}