From 7ec5a9425c7585a67dc834cfb762470e86695b41 Mon Sep 17 00:00:00 2001 From: dibyendumajumdar Date: Sun, 17 Sep 2023 20:53:53 +0100 Subject: Revise text and update diagram. Remove the detail re inputs to a node from the diagram. --- chapter01/docs/02-graph.gv | 28 ++++------------------------ chapter01/docs/02-graph.svg | 40 ++++++++++++++++------------------------ 2 files changed, 20 insertions(+), 48 deletions(-) (limited to 'chapter01/docs') diff --git a/chapter01/docs/02-graph.gv b/chapter01/docs/02-graph.gv index a47c23fe..40181544 100644 --- a/chapter01/docs/02-graph.gv +++ b/chapter01/docs/02-graph.gv @@ -1,29 +1,9 @@ digraph chapter01 { - start [shape=none, label=< - - - - - - - -
Inputs
Start
- >]; + start [shape=box, label="Start"]; constant [label="Constant 1"]; - return [shape=none, label=< - - - - - - - - - -
Inputs01
Return
- >]; - constant -> return:input1; + return [shape=box, label="Return"]; + constant -> return; edge [color=red]; - start -> return:input0 [style=bold]; + start -> return [style=bold]; } \ No newline at end of file diff --git a/chapter01/docs/02-graph.svg b/chapter01/docs/02-graph.svg index 1ced4870..fbf92d7d 100644 --- a/chapter01/docs/02-graph.svg +++ b/chapter01/docs/02-graph.svg @@ -4,48 +4,40 @@ - - + + chapter01 - + start - -Inputs - -Start + +Start return - -Inputs - -0 - -1 - -Return + +Return -start->return:input0 - - +start->return + + constant - -Constant 1 + +Constant 1 -constant->return:input1 - - +constant->return + + -- cgit v1.2.3