From 1c2965adcdfa8d732998bf154dd341ad8fe3032d Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Fri, 27 Oct 2023 19:22:24 +0100 Subject: Applied fix for #12 to chapter 3 (#15) ScopeNode added to chapter 3 Revised the description for Chapter 3 and 4 to include ScopeNode. --- chapter03/docs/03-graph3.gv | 10 ++- chapter03/docs/03-graph3.svg | 146 +++++++++++++++++++++++++------------------ 2 files changed, 92 insertions(+), 64 deletions(-) (limited to 'chapter03/docs') diff --git a/chapter03/docs/03-graph3.gv b/chapter03/docs/03-graph3.gv index da30744b..717024e3 100644 --- a/chapter03/docs/03-graph3.gv +++ b/chapter03/docs/03-graph3.gv @@ -3,22 +3,26 @@ digraph chapter03 { subgraph cluster_Nodes { Start1 [ shape=box style=filled fillcolor=yellow label="Start" ]; Con_2 [ label="#1" ]; - Con_19 [ label="#8" ]; Con_3 [ label="#2" ]; - Return20 [ shape=box style=filled fillcolor=yellow label="Return" ]; + Con_19 [ label="#8" ]; Con_4 [ label="#3" ]; + Return20 [ shape=box style=filled fillcolor=yellow label="Return" ]; Con_5 [ label="#4" ]; } node [shape=plaintext]; subgraph cluster_0 { scope0 [label=< - +
0y0x0y1x1
0y0x0y1x1
>]; } + Con_2 -> Start1 [style=dotted]; + Con_3 -> Start1 [style=dotted]; Con_19 -> Start1 [style=dotted]; + Con_4 -> Start1 [style=dotted]; Return20 -> Start1 [color=red]; Return20 -> Con_19; + Con_5 -> Start1 [style=dotted]; edge [style=dashed color=cornflowerblue]; scope0:scope0_y0 -> Con_3; scope0:scope0_x0 -> Con_2; diff --git a/chapter03/docs/03-graph3.svg b/chapter03/docs/03-graph3.svg index 3900b93d..3b720323 100644 --- a/chapter03/docs/03-graph3.svg +++ b/chapter03/docs/03-graph3.svg @@ -4,117 +4,141 @@ - - + + chapter03 - + cluster_Nodes - + cluster_0 - + Start1 - -Start + +Start Con_2 - -#1 + +#1 - + + +Con_2->Start1 + + + + +Con_3 + +#2 + + + +Con_3->Start1 + + + + + Con_19 - -#8 + +#8 - + Con_19->Start1 - - + + - - -Con_3 - -#2 + + +Con_4 + +#3 + + + +Con_4->Start1 + + - + Return20 - -Return + +Return - + Return20->Start1 - - + + - + Return20->Con_19 - - - - - -Con_4 - -#3 + + Con_5 - -#4 + +#4 + + + +Con_5->Start1 + + scope0 - - -0 - -y0 - -x0 - -y1 - -x1 + + +0 + +y0 + +x0 + +y1 + +x1 - + scope0:scope0_x0->Con_2 - - + + - + scope0:scope0_y0->Con_3 - - + + - + scope0:scope0_x1->Con_4 - - + + - + scope0:scope0_y1->Con_5 - - + + -- cgit v1.2.3