diff options
| author | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-17 20:53:53 +0100 |
|---|---|---|
| committer | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-17 20:53:53 +0100 |
| commit | 7ec5a9425c7585a67dc834cfb762470e86695b41 (patch) | |
| tree | c18c7056ebb6b77cd379347c6725c0a5d639d14e /chapter01/docs/02-graph.gv | |
| parent | 149c78c4921d5a653e3ff83ec3b1d02a90d0a42c (diff) | |
| download | Simple-7ec5a9425c7585a67dc834cfb762470e86695b41.tar.gz Simple-7ec5a9425c7585a67dc834cfb762470e86695b41.zip | |
Revise text and update diagram.
Remove the detail re inputs to a node from the diagram.
Diffstat (limited to 'chapter01/docs/02-graph.gv')
| -rw-r--r-- | chapter01/docs/02-graph.gv | 28 |
1 files changed, 4 insertions, 24 deletions
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=< - <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> - <TR> - <TD><I>Inputs</I></TD> - </TR> - <TR> - <TD COLSPAN="3"><B>Start</B></TD> - </TR> - </TABLE> - >]; + start [shape=box, label="Start"]; constant [label="Constant 1"]; - return [shape=none, label=< - <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> - <TR> - <TD><I>Inputs</I></TD> - <TD PORT="input0">0</TD> - <TD PORT="input1">1</TD> - </TR> - <TR> - <TD COLSPAN="3"><B>Return</B></TD> - </TR> - </TABLE> - >]; - 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 |
