diff options
| author | Dibyendu Majumdar <dibyendumajumdar@users.noreply.github.com> | 2023-10-22 05:18:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-21 21:18:58 -0700 |
| commit | 10ed01188f78e3fad4b257a0241f9a89e2fdb405 (patch) | |
| tree | bcf72f66bf0db33cced9b48e2401428706b8eebe /chapter01/docs/01-graph.gv | |
| parent | d1c5e6995f5e08df18069be49b1fe0ea193996a9 (diff) | |
| download | Simple-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 'chapter01/docs/01-graph.gv')
| -rw-r--r-- | chapter01/docs/01-graph.gv | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/chapter01/docs/01-graph.gv b/chapter01/docs/01-graph.gv index 40181544..82d1b40a 100644 --- a/chapter01/docs/01-graph.gv +++ b/chapter01/docs/01-graph.gv @@ -1,9 +1,11 @@ -digraph chapter01 -{ - start [shape=box, label="Start"]; - constant [label="Constant 1"]; - return [shape=box, label="Return"]; - constant -> return; - edge [color=red]; - start -> return [style=bold]; -}
\ No newline at end of file +digraph chapter01 { + rankdir=BT; + subgraph cluster_Nodes { + Start1 [ shape=box style=filled fillcolor=yellow label="Start" ]; + Con12 [ label="Con1" ]; + Return3 [ shape=box style=filled fillcolor=yellow label="Return" ]; + } + Con12 -> Start1 [style=dotted]; + Return3 -> Start1 [color=red]; + Return3 -> Con12; +} |
