tfm-report/img/throw-example-cfg.dot
Carlos Galindo 16730f0f11 tfm carlos
2019-11-15 21:34:58 +00:00

8 lines
No EOL
253 B
Text

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;
}