summaryrefslogtreecommitdiff
path: root/chapter01/docs/02-graph.gv
diff options
context:
space:
mode:
authorDibyendu Majumdar <dibyendumajumdar@users.noreply.github.com>2023-09-19 23:48:34 +0100
committerGitHub <noreply@github.com>2023-09-19 23:48:34 +0100
commit62bfd0d619b28892152a7d89639f3437bc9df573 (patch)
tree0e628f6a331a0c7e3b56424021243535019f7784 /chapter01/docs/02-graph.gv
parentee3a2f571897b23caecfe9cfe4f5e4338007f885 (diff)
parentcecb62d847da7dc937b52857ae2fd4b41af98a7c (diff)
downloadSimple-62bfd0d619b28892152a7d89639f3437bc9df573.tar.gz
Simple-62bfd0d619b28892152a7d89639f3437bc9df573.zip
Merge pull request #3 from dibyendumajumdar/main
Chapter 1 implementation
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