blog-static/content/blog/07_spa_agda_semantics_and_cfg/while-cfg.dot
2024-11-28 20:33:08 -08:00

16 lines
439 B
Plaintext

digraph G {
graph[dpi=300 fontsize=14 fontname="Courier New"];
node[shape=rectangle style="filled" fillcolor="#fafafa" penwidth=0.5 color="#aaaaaa"];
edge[arrowsize=0.3 color="#444444"]
node_begin [label="x = 2;\l"]
node_cond [label="x\l"]
node_body [label="x = x - 1\l"]
node_end [label="y = x\l"]
node_begin -> node_cond
node_cond -> node_body
node_cond -> node_end
node_body -> node_cond
}