summaryrefslogtreecommitdiff
path: root/chapter01/docs/02-graph.gv
diff options
context:
space:
mode:
Diffstat (limited to 'chapter01/docs/02-graph.gv')
-rw-r--r--chapter01/docs/02-graph.gv9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter01/docs/02-graph.gv b/chapter01/docs/02-graph.gv
new file mode 100644
index 00000000..40181544
--- /dev/null
+++ b/chapter01/docs/02-graph.gv
@@ -0,0 +1,9 @@
+digraph chapter01
+{
+ start [shape=box, label="Start"];
+ constant [label="Constant 1"];
+ return [shape=box, label="Return"];
+ constant -> return;
+ edge [color=red];
+ start -> return [style=bold];
+} \ No newline at end of file