tfm-report/img/throw-example-cfg.dot

8 lines
253 B
Text
Raw Normal View History

2019-11-15 22:34:58 +01:00
digraph g {
Start [shape=box];
End [shape=box];
Start -> End [style=dashed];
Start -> "if (x < 0)" -> "throw" -> "Error exit" -> End;
"throw" -> "return Math.sqrt(x)" [style=dashed];
"if (x < 0)" -> "return Math.sqrt(x)" -> "Normal exit" -> End;
}