git.fiddlerwoaroof.com
Browse code

update diagram

Ed Langley authored on 25/07/2018 21:40:15
Showing 2 changed files
... ...
@@ -1,9 +1,19 @@
1 1
 digraph G {
2
-  splines=ortho;
2
+  splines=true;
3
+  rankdir=LR;
3 4
   p[label="(PARSE string synthesizer)",shape=box];
4
-  "READ-EDN" [shape=box];
5
-  "SYNTHESIZER" [shape=box];
5
+  "edn string" -> p ;
6 6
   p -> "READ-EDN";
7
-  "READ-EDN" -> SYNTHESIZER;
8
-  SYNTHESIZER -> p [style=dashed];
7
+  p -> SYNTHESIZER[style=dashed,constraint=false,tailport=s,headport=s];
8
+  subgraph cluster_internals {
9
+    label="cl-edn";
10
+    color=red;
11
+    "READ-EDN" [shape=box,group=int];
12
+    ast[group=int];
13
+    "SYNTHESIZER" [shape=box,group=int];
14
+    "READ-EDN" -> ast ;
15
+    ast -> SYNTHESIZER ;
16
+  }
17
+  SYNTHESIZER -> "{| your data here |}";
18
+  
9 19
 }
... ...
@@ -4,46 +4,87 @@
4 4
 <!-- Generated by graphviz version 2.40.1 (20161225.0304)
5 5
  -->
6 6
 <!-- Title: G Pages: 1 -->
7
-<svg width="177pt" height="188pt"
8
- viewBox="0.00 0.00 177.48 188.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
-<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 184)">
7
+<svg width="854pt" height="147pt"
8
+ viewBox="0.00 0.00 853.87 147.21" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 143.2063)">
10 10
 <title>G</title>
11
-<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-184 173.4805,-184 173.4805,4 -4,4"/>
11
+<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-143.2063 849.8695,-143.2063 849.8695,4 -4,4"/>
12
+<g id="clust1" class="cluster">
13
+<title>cluster_internals</title>
14
+<polygon fill="none" stroke="#ff0000" points="323.9409,-57.2063 323.9409,-131.2063 663.5962,-131.2063 663.5962,-57.2063 323.9409,-57.2063"/>
15
+<text text-anchor="middle" x="493.7686" y="-116.0063" font-family="Times,serif" font-size="14.00" fill="#000000">cl&#45;edn</text>
16
+</g>
12 17
 <!-- p -->
13 18
 <g id="node1" class="node">
14 19
 <title>p</title>
15
-<polygon fill="none" stroke="#000000" points="169.7214,-180 -.2409,-180 -.2409,-144 169.7214,-144 169.7214,-180"/>
16
-<text text-anchor="middle" x="84.7402" y="-157.8" font-family="Times,serif" font-size="14.00" fill="#000000">(PARSE string synthesizer)</text>
20
+<polygon fill="none" stroke="#000000" points="296.1819,-101.2063 126.2196,-101.2063 126.2196,-65.2063 296.1819,-65.2063 296.1819,-101.2063"/>
21
+<text text-anchor="middle" x="211.2007" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">(PARSE string synthesizer)</text>
17 22
 </g>
18 23
 <!-- READ&#45;EDN -->
19
-<g id="node2" class="node">
24
+<g id="node3" class="node">
20 25
 <title>READ&#45;EDN</title>
21
-<polygon fill="none" stroke="#000000" points="92.2863,-108 5.1941,-108 5.1941,-72 92.2863,-72 92.2863,-108"/>
22
-<text text-anchor="middle" x="48.7402" y="-85.8" font-family="Times,serif" font-size="14.00" fill="#000000">READ&#45;EDN</text>
26
+<polygon fill="none" stroke="#000000" points="419.2595,-101.2063 332.1673,-101.2063 332.1673,-65.2063 419.2595,-65.2063 419.2595,-101.2063"/>
27
+<text text-anchor="middle" x="375.7134" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">READ&#45;EDN</text>
23 28
 </g>
24 29
 <!-- p&#45;&gt;READ&#45;EDN -->
25
-<g id="edge1" class="edge">
30
+<g id="edge2" class="edge">
26 31
 <title>p&#45;&gt;READ&#45;EDN</title>
27
-<path fill="none" stroke="#000000" d="M48.7402,-143.8314C48.7402,-143.8314 48.7402,-118.4133 48.7402,-118.4133"/>
28
-<polygon fill="#000000" stroke="#000000" points="52.2403,-118.4132 48.7402,-108.4133 45.2403,-118.4133 52.2403,-118.4132"/>
32
+<path fill="none" stroke="#000000" d="M296.3483,-83.2063C305.0584,-83.2063 313.7252,-83.2063 321.9574,-83.2063"/>
33
+<polygon fill="#000000" stroke="#000000" points="322.123,-86.7064 332.1229,-83.2063 322.1229,-79.7064 322.123,-86.7064"/>
29 34
 </g>
30 35
 <!-- SYNTHESIZER -->
31
-<g id="node3" class="node">
36
+<g id="node4" class="node">
32 37
 <title>SYNTHESIZER</title>
33
-<polygon fill="none" stroke="#000000" points="139.8506,-36 29.6298,-36 29.6298,0 139.8506,0 139.8506,-36"/>
34
-<text text-anchor="middle" x="84.7402" y="-13.8" font-family="Times,serif" font-size="14.00" fill="#000000">SYNTHESIZER</text>
35
-</g>
36
-<!-- READ&#45;EDN&#45;&gt;SYNTHESIZER -->
37
-<g id="edge2" class="edge">
38
-<title>READ&#45;EDN&#45;&gt;SYNTHESIZER</title>
39
-<path fill="none" stroke="#000000" d="M61.0989,-71.8314C61.0989,-71.8314 61.0989,-46.4133 61.0989,-46.4133"/>
40
-<polygon fill="#000000" stroke="#000000" points="64.599,-46.4132 61.0989,-36.4133 57.599,-46.4133 64.599,-46.4132"/>
38
+<polygon fill="none" stroke="#000000" points="655.6514,-101.2063 545.4306,-101.2063 545.4306,-65.2063 655.6514,-65.2063 655.6514,-101.2063"/>
39
+<text text-anchor="middle" x="600.541" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">SYNTHESIZER</text>
41 40
 </g>
42
-<!-- SYNTHESIZER&#45;&gt;p -->
41
+<!-- p&#45;&gt;SYNTHESIZER -->
43 42
 <g id="edge3" class="edge">
44
-<title>SYNTHESIZER&#45;&gt;p</title>
45
-<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M116.1541,-36.2377C116.1541,-36.2377 116.1541,-133.9104 116.1541,-133.9104"/>
46
-<polygon fill="#000000" stroke="#000000" points="112.6542,-133.9103 116.1541,-143.9104 119.6542,-133.9104 112.6542,-133.9103"/>
43
+<title>p:s&#45;&gt;SYNTHESIZER:s</title>
44
+<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M211.2007,-65.2063C211.2007,17.7651 569.2579,21.1682 598.6298,-54.9969"/>
45
+<polygon fill="#000000" stroke="#000000" points="595.2607,-56.0211 600.541,-65.2063 602.1411,-54.733 595.2607,-56.0211"/>
46
+</g>
47
+<!-- edn string -->
48
+<g id="node2" class="node">
49
+<title>edn string</title>
50
+<ellipse fill="none" stroke="#000000" cx="45.2302" cy="-83.2063" rx="45.4616" ry="18"/>
51
+<text text-anchor="middle" x="45.2302" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">edn string</text>
52
+</g>
53
+<!-- edn string&#45;&gt;p -->
54
+<g id="edge1" class="edge">
55
+<title>edn string&#45;&gt;p</title>
56
+<path fill="none" stroke="#000000" d="M90.5824,-83.2063C98.6715,-83.2063 107.366,-83.2063 116.2472,-83.2063"/>
57
+<polygon fill="#000000" stroke="#000000" points="116.3315,-86.7064 126.3314,-83.2063 116.3314,-79.7064 116.3315,-86.7064"/>
58
+</g>
59
+<!-- ast -->
60
+<g id="node5" class="node">
61
+<title>ast</title>
62
+<ellipse fill="none" stroke="#000000" cx="482.4859" cy="-83.2063" rx="27" ry="18"/>
63
+<text text-anchor="middle" x="482.4859" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">ast</text>
64
+</g>
65
+<!-- READ&#45;EDN&#45;&gt;ast -->
66
+<g id="edge4" class="edge">
67
+<title>READ&#45;EDN&#45;&gt;ast</title>
68
+<path fill="none" stroke="#000000" d="M419.4499,-83.2063C427.9536,-83.2063 436.7952,-83.2063 445.0725,-83.2063"/>
69
+<polygon fill="#000000" stroke="#000000" points="445.1875,-86.7064 455.1875,-83.2063 445.1874,-79.7064 445.1875,-86.7064"/>
70
+</g>
71
+<!-- {| your data here |} -->
72
+<g id="node6" class="node">
73
+<title>{| your data here |}</title>
74
+<ellipse fill="none" stroke="#000000" cx="768.7329" cy="-83.2063" rx="77.2736" ry="18"/>
75
+<text text-anchor="middle" x="768.7329" y="-79.0063" font-family="Times,serif" font-size="14.00" fill="#000000">{| your data here |}</text>
76
+</g>
77
+<!-- SYNTHESIZER&#45;&gt;{| your data here |} -->
78
+<g id="edge6" class="edge">
79
+<title>SYNTHESIZER&#45;&gt;{| your data here |}</title>
80
+<path fill="none" stroke="#000000" d="M655.6133,-83.2063C663.8765,-83.2063 672.5657,-83.2063 681.303,-83.2063"/>
81
+<polygon fill="#000000" stroke="#000000" points="681.5593,-86.7064 691.5593,-83.2063 681.5592,-79.7064 681.5593,-86.7064"/>
82
+</g>
83
+<!-- ast&#45;&gt;SYNTHESIZER -->
84
+<g id="edge5" class="edge">
85
+<title>ast&#45;&gt;SYNTHESIZER</title>
86
+<path fill="none" stroke="#000000" d="M509.5701,-83.2063C517.2859,-83.2063 526.0437,-83.2063 535.004,-83.2063"/>
87
+<polygon fill="#000000" stroke="#000000" points="535.1619,-86.7064 545.1619,-83.2063 535.1618,-79.7064 535.1619,-86.7064"/>
47 88
 </g>
48 89
 </g>
49 90
 </svg>