-
Notifications
You must be signed in to change notification settings - Fork 15
/
composed-tree-links.html
279 lines (253 loc) · 15.9 KB
/
composed-tree-links.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html>
<head>
<title>composed-tree-links - SVG in HTML</title>
</head>
<body>
<h1>SVG test file embedded in HTML:</h1>
<p> composed-tree-links </p>
<svg viewBox="12 2 654 606" width="654" height="606">
<title>A composed tree</title>
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:date>2013-07-12 01:16Z</dc:date><!-- Produced by OmniGraffle Professional 5.4.4 -->
Fixed by chaals to be more sensible markup and more accessible</metadata>
<defs aria-hidden="true">
<filter id="Shadow">
<feGaussianBlur in="SourceAlpha" result="blur" stdDeviation="1"/>
<feOffset in="blur" result="offset" dx="0" dy="4"/>
<feFlood flood-color="black" flood-opacity=".75" result="flood"/>
<feComposite in="flood" in2="offset" operator="in"/>
</filter>
<font-face font-family="Helvetica" font-size="12" units-per-em="1000" underline-position="-75.683594"
underline-thickness="49.316406" slope="0" x-height="522.94922"
cap-height="717.28516" ascent="770.01953" descent="-229.98047" font-weight="500">
<font-face-src><font-face-name name="Helvetica"/></font-face-src>
</font-face>
<marker orient="auto" overflow="visible" markerUnits="strokeWidth" id="FilledArrow_Marker"
viewBox="-1 -4 10 8" markerWidth="10" markerHeight="8" color="black">
<path d="M 8 0 L 0 -3 L 0 3 Z" fill="currentColor" stroke="currentColor" stroke-width="1"/>
</marker>
<g id="plainNode" aria-labelledby="plainNodeLabel" role="img"><title id="plainNodeLabel">A plain node</title>
<circle r="27" fill="white" filter="url(#Shadow)"/>
<circle r="27" fill="#084" stroke-width="1" stroke="#000"/>
</g>
<g id="shadowHost" aria-labelledby="shadowHostLabel" role="img"><title id="shadowHostLabel">A shadow host</title>
<circle r="27" fill="white" filter="url(#Shadow)"/>
<circle r="27" fill="#084" stroke="black" stroke-width="1"/>
<text fill="white" font-family="Helvetica" font-size="12"><tspan x="-20" y="-3">shadow</tspan><tspan x="-10" y="11">host</tspan></text>
</g>
<g id="document" aria-labelledby="documentLabel" role="img"><title id="documentLabel">The document root</title>
<circle r="27" fill="white" filter="url(#Shadow)"/>
<circle r="27" fill="#08f" stroke="black" stroke-width="1"/>
<text fill="white" font-family="Helvetica" font-size="12" font-weight="500" x="-26" y="4">document</text>
</g>
</defs>
<g>
<title>Composed Trees</title>
<g><title>Trees</title>
<g id="id1424_Graphic">
<rect x="32" y="18" width="614" height="565" fill="white" stroke="black" stroke-width="1"/>
<text transform="translate(37 34)" font-family="Helvetica" font-size="12">composed tree</text>
</g>
</g>
<g><title>Nodes</title>
<g>
<g tabindex="0" id="r1root" transform="translate(321 63)" role="group" aria-labelledby="documentLabel">
<use xlink:href="#document"/>
<a xlink:href="#r2n1" aria-labelledby="r1l1-label">
<line x1="-12" y1="25" x2="-27" y2="57" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r1l1-label">first child is second level node 1</title></a>
<a xlink:href="#r2n2" aria-labelledby="r1l2-label">
<line x1="8" y1="26" x2="18" y2="56" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r1l2-label">second child is second level, node 2</title></a></g>
<g tabindex="0" id="r2n1" transform="translate(279 155)"
role="group" aria-labelledby="r2n1-label plainNodeLabel">
<use id="r2n1" xlink:href="#plainNode"/>
<title id="r2n1-label">Second row, node 1</title>
<a xlink:href="#r3n1" aria-labelledby="r2l1-label">
<line x1="-17" y1="21" x2="-49" y2="62" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r2l1-label">first child is third level, node 1</title></a>
<a xlink:href="#r3n2" aria-labelledby="r2l2-label">
<line y1="27" y2="54" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r2l2-label">second child is third level, node 2</title></a></g>
<g tabindex="0" id="r2n2" transform="translate(351 155)"
role="group" aria-labelledby="r2n1-label plainNodeLabel">
<use xlink:href="#plainNode" />
<title id="r2n2-label">Second row, node 2</title>
<a xlink:href="#r3n3" aria-labelledby="r2l3-label">
<line y1="27" y2="54" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r2l3-label">first child is third level, node 3</title></a>
<a xlink:href="#r3n4" aria-labelledby="r2l4-label">
<line x1="17" y1="21" x2="49" y2="62" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r2l4-label">second child is third level, node 4</title></a></g>
<g tabindex="0" id="r3n1" transform="translate(207 247)"
role="group" aria-labelledby="r3n1-label shadowHostLabel">
<use id="r3n1" xlink:href="#shadowHost"/>
<title id="r3n1-label">Third row, node 1</title>
<a xlink:href="#r4n1" aria-labelledby="r3l1-label">
<line x1="-17" y1="22" x2="-49" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r3l1-label">first child is fourth level, node 1</title></a>
<a xlink:href="#r4n2" aria-labelledby="r3l2-label">
<line y1="28" y2="56" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r3l2-label">second child is fourth level, node 2</title></a></g>
<g tabindex="0" id="r3n2" transform="translate(279 247)"
role="img" aria-labelledby="r3n2-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r3n2-label">Third row, node 2</title></g>
<g tabindex="0" id="r3n3" transform="translate(351 247)"
role="img" aria-labelledby="r3n3-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r3n3-label">Third row, node 3</title></g>
<g tabindex="0" id="r3n4" transform="translate(423 247)"
role="group" aria-labelledby="r3n4-label shadowHostLabel">
<use xlink:href="#shadowHost"/>
<title id="r3n4-label">Third row, node 4</title>
<a xlink:href="#r4n3" aria-labelledby="r3l3-label">
<line y1="28" y2="56" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r3l3-label">first child is fourth level, node 3</title></a>
<a xlink:href="#r4n1" aria-labelledby="r3l1-label">
<line x1="16" y1="21" x2="49" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r3l4-label">second child is fourth level, node 4</title></a></g>
<g tabindex="0" id="r4n1" transform="translate(135 341)"
role="group" aria-labelledby="r4n1-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r4n1-label">Fourth row, node 1</title>
<a xlink:href="#r4n3" aria-labelledby="r4l1-label">
<line x1="-17" y1="21" x2="-49" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l1-label">first child is fifth level, node 1</title></a>
<a xlink:href="#r4n3" aria-labelledby="r4l2-label">
<line y1="27" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l2-label">second child is fifth level, node 2</title></a></g>
<g tabindex="0" id="r4n2" transform="translate(207 341)"
role="group" aria-labelledby="r4n2-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r4n2-label">Fourth row, node 2</title>
<a xlink:href="#r5n3" aria-labelledby="r4l3-label">
<line y1="27" y2="54" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l3-label">first child is fifth level, node 3</title></a>
<a xlink:href="#r5n4" aria-labelledby="r4l4-label">
<line x1="16" y1="21" x2="48" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l4-label">second child is fifth level, node 4</title></a></g>
<g tabindex="0" id="r4n3" transform="translate(423 341)"
role="group" aria-labelledby="r4n3-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r4n3-label">Fourth row, node 3</title>
<a xlink:href="#r5n5" aria-labelledby="r5l5-label">
<line x1="-17" y1="21" x2="-49" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="42l4-label">first child is fifth level, node 5</title></a>
<a xlink:href="#r5n6" aria-labelledby="r4l6-label">
<line y1="27" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l6-label">second child is fifth level, node 6</title></a></g>
<g tabindex="0" id="r4n4" transform="translate(495 341)"
role="group" aria-labelledby="r4n4-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r4n4-label">Fourth row, node 4</title>
<a xlink:href="#r5n7" aria-labelledby="r4l7-label">
<line y1="27" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l7-label">first child is fifth level, node 7</title></a>
<a xlink:href="#r5n8" aria-labelledby="r4l8-label">
<line x1="16" y1="21" x2="49" y2="64" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r4l8-label">second child is fifth level, node 8</title></a></g>
<g tabindex="0" id="r5n1" transform="translate(63 433)"
role="img" aria-labelledby="r5n1-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n1-label">Fifth row, node 1</title></g>
<g tabindex="0" id="r5n2" transform="translate(135 433)"
role="img" aria-labelledby="r5n2-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n2-label">Fifth row, node 2</title></g>
<g tabindex="0" id="r5n3" transform="translate(207 433)"
role="img" aria-labelledby="r5n3-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n3-label">Fifth row, node 3</title></g>
<g tabindex="0" id="r5n4" transform="translate(278 433)"
role="img" aria-labelledby="r5n4-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n4-label">Fifth row, node 4</title></g>
<g tabindex="0" id="r5n5" transform="translate(351 433)"
role="group" aria-labelledby="r5n5-label shadowHostLabel">
<use xlink:href="#shadowHost"/>
<title id="r5n5-label">Fifth row, node 5</title>
<a xlink:href="#r6n1" aria-labelledby="r5l1-label">
<line x1="-22" y1="16" x2="-115" y2="89" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l1-label">first child is sixth level, node 1</title></a>
<a xlink:href="#r6n2" aria-labelledby="r5l2-label">
<line x1="-15" y1="23" x2="-52" y2="80" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l2-label">second child is sixth level, node 2</title></a></g>
<g tabindex="0" id="r5n6" transform="translate(423 433)"
role="img" aria-labelledby="r5n6-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n6-label">Fifth row, node 6</title></g>
<g tabindex="0" id="r5n7" transform="translate(495 433)"
role="img" aria-labelledby="r5n7-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r5n7-label">Fifth row, node 7</title></g>
<g tabindex="0" id="r5n8" transform="translate(567 433)"
role="group" aria-labelledby="r5n8-label shadowHostLabel">
<use xlink:href="#shadowHost"/>
<title id="r5n8-label">Fifth row, node 8</title>
<a xlink:href="#r6n3" aria-labelledby="r5l3-label">
<line x1="-24" y1="13" x2="-166" y2="93" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l13-label">first child is sixth level, node 3</title></a>
<a xlink:href="#r6n4" aria-labelledby="r5l4-label">
<line x1="-23" y1="18" x2="-98" y2="93" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l4-label">second child is sixth level, node 4</title></a>
<a xlink:href="#r6n5" aria-labelledby="r5l5-label">
<line x1="9" y1="26" x2="29" y2="77" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l5-label">third child is sixth level, node 5</title></a>
<a xlink:href="#r6n6" aria-labelledby="r5l6-label">
<line x1="-7" y1="26" x2="-20" y2="76" marker-end="url(#FilledArrow_Marker)"
stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<title id="r5l6-label">fourth child is sixth level, node 6</title></a></g>
<g tabindex="0" id="r6n1" transform="translate(207 545)"
role="img" aria-labelledby="r6n1-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n1-label">Sixth row, node 1</title></g>
<g tabindex="0" id="r6n2" transform="translate(280 545)"
role="img" aria-labelledby="r6n2-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n2-label">Sixth row, node 2</title></g>
<g tabindex="0" id="r6n3" transform="translate(369 545)"
role="img" aria-labelledby="r6n3-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n3-label">Sixth row, node 3</title></g>
<g tabindex="0" id="r6n4" transform="translate(441 545)"
role="img" aria-labelledby="r6n4-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n4-label">Sixth row, node 4</title></g>
<g tabindex="0" id="r6n5" transform="translate(537 545)"
role="img" aria-labelledby="r6n5-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n5-label">Sixth row, node 5</title></g>
<g tabindex="0" id="r6n6" transform="translate(609 545)"
role="img" aria-labelledby="r6n6-label plainNodeLabel">
<use xlink:href="#plainNode"/>
<title id="r6n6-label">Sixth row, node 6</title></g>
</g>
</g>
</g>
</svg>
</body></html>