summaryrefslogtreecommitdiff
path: root/chapter02/docs/02-post-peephole-ex1.gv
diff options
context:
space:
mode:
authorDibyendu Majumdar <dibyendumajumdar@users.noreply.github.com>2023-10-22 05:18:58 +0100
committerGitHub <noreply@github.com>2023-10-21 21:18:58 -0700
commit10ed01188f78e3fad4b257a0241f9a89e2fdb405 (patch)
treebcf72f66bf0db33cced9b48e2401428706b8eebe /chapter02/docs/02-post-peephole-ex1.gv
parentd1c5e6995f5e08df18069be49b1fe0ea193996a9 (diff)
downloadSimple-10ed01188f78e3fad4b257a0241f9a89e2fdb405.tar.gz
Simple-10ed01188f78e3fad4b257a0241f9a89e2fdb405.zip
Revision of docs (#10)
* Port updates back to chapter 2 * Update older visuals to match new format * Update older visuals to match new format * update docs
Diffstat (limited to 'chapter02/docs/02-post-peephole-ex1.gv')
-rw-r--r--chapter02/docs/02-post-peephole-ex1.gv19
1 files changed, 10 insertions, 9 deletions
diff --git a/chapter02/docs/02-post-peephole-ex1.gv b/chapter02/docs/02-post-peephole-ex1.gv
index a39d602b..290a1178 100644
--- a/chapter02/docs/02-post-peephole-ex1.gv
+++ b/chapter02/docs/02-post-peephole-ex1.gv
@@ -1,10 +1,11 @@
-digraph chapter02
-{
- Start1 [shape=box, label="Start"];
- Con213 [ label="Con2"];
- Start1 -> Con213 [style=dotted];
- Return14 [shape=box, label="Return"];
- Con213 -> Return14;
- edge [color=red];
- Start1 -> Return14;
+digraph chapter02 {
+ rankdir=BT;
+ subgraph cluster_Nodes {
+ Start1 [ shape=box style=filled fillcolor=yellow label="Start" ];
+ Con213 [ label="Con2" ];
+ Return14 [ shape=box style=filled fillcolor=yellow label="Return" ];
+ }
+ Con213 -> Start1 [style=dotted];
+ Return14 -> Start1 [color=red];
+ Return14 -> Con213;
} \ No newline at end of file