From 10ed01188f78e3fad4b257a0241f9a89e2fdb405 Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Sun, 22 Oct 2023 05:18:58 +0100 Subject: 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 --- chapter02/docs/02-post-peephole-ex1.gv | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'chapter02/docs/02-post-peephole-ex1.gv') 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 -- cgit v1.2.3