1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-4:0:93",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-3:1:92",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-0:4:4",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-0:4:4",
17 "value": [
18 {
19 "string": "oreo",
20 "raw_string": "oreo"
21 }
22 ]
23 }
24 }
25 ]
26 },
27 "primary": {},
28 "value": {
29 "map": {
30 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:6:6-3:1:92",
31 "nodes": [
32 {
33 "map_key": {
34 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:19:27",
35 "edges": [
36 {
37 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:8:16",
38 "src": {
39 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:3:11",
40 "path": [
41 {
42 "unquoted_string": {
43 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:3:11",
44 "value": [
45 {
46 "string": "q",
47 "raw_string": "q"
48 }
49 ]
50 }
51 }
52 ]
53 },
54 "src_arrow": "",
55 "dst": {
56 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
57 "path": [
58 {
59 "unquoted_string": {
60 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
61 "value": [
62 {
63 "string": "z",
64 "raw_string": "z"
65 }
66 ]
67 }
68 }
69 ]
70 },
71 "dst_arrow": ">"
72 },
73 {
74 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:13:21",
75 "src": {
76 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
77 "path": [
78 {
79 "unquoted_string": {
80 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
81 "value": [
82 {
83 "string": "z",
84 "raw_string": "z"
85 }
86 ]
87 }
88 }
89 ]
90 },
91 "src_arrow": "",
92 "dst": {
93 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:12:20-1:13:21",
94 "path": [
95 {
96 "unquoted_string": {
97 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:12:20-1:13:21",
98 "value": [
99 {
100 "string": "p",
101 "raw_string": "p"
102 }
103 ]
104 }
105 }
106 ]
107 },
108 "dst_arrow": ">"
109 }
110 ],
111 "primary": {},
112 "value": {
113 "unquoted_string": {
114 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:15:23-1:19:27",
115 "value": [
116 {
117 "string": "wsup",
118 "raw_string": "wsup"
119 }
120 ]
121 }
122 }
123 }
124 },
125 {
126 "map_key": {
127 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:2:30-2:62:90",
128 "edges": [
129 {
130 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:3:31-2:9:37",
131 "src": {
132 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:3:31-2:4:32",
133 "path": [
134 {
135 "unquoted_string": {
136 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:3:31-2:4:32",
137 "value": [
138 {
139 "string": "q",
140 "raw_string": "q"
141 }
142 ]
143 }
144 }
145 ]
146 },
147 "src_arrow": "",
148 "dst": {
149 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:8:36-2:9:37",
150 "path": [
151 {
152 "unquoted_string": {
153 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:8:36-2:9:37",
154 "value": [
155 {
156 "string": "z",
157 "raw_string": "z"
158 }
159 ]
160 }
161 }
162 ]
163 },
164 "dst_arrow": ">"
165 }
166 ],
167 "edge_index": {
168 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:10:38-2:13:41",
169 "int": 0,
170 "glob": false
171 },
172 "primary": {},
173 "value": {
174 "double_quoted_string": {
175 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:15:43-2:62:90",
176 "value": [
177 {
178 "string": "QOTD:\n \"It's been Monday all week today.\"",
179 "raw_string": "QOTD:\\n \\\"It's been Monday all week today.\\\""
180 }
181 ]
182 }
183 }
184 }
185 }
186 ]
187 }
188 }
189 }
190 }
191 ]
192 },
193 "root": {
194 "id": "",
195 "id_val": "",
196 "attributes": {
197 "label": {
198 "value": ""
199 },
200 "labelDimensions": {
201 "width": 0,
202 "height": 0
203 },
204 "style": {},
205 "near_key": null,
206 "shape": {
207 "value": ""
208 },
209 "direction": {
210 "value": ""
211 },
212 "constraint": null
213 },
214 "zIndex": 0
215 },
216 "edges": [
217 {
218 "index": 0,
219 "isCurve": false,
220 "src_arrow": false,
221 "dst_arrow": true,
222 "references": [
223 {
224 "map_key_edge_index": 0
225 },
226 {
227 "map_key_edge_index": 0
228 }
229 ],
230 "attributes": {
231 "label": {
232 "value": "QOTD:\n \"It's been Monday all week today.\""
233 },
234 "labelDimensions": {
235 "width": 0,
236 "height": 0
237 },
238 "style": {},
239 "near_key": null,
240 "shape": {
241 "value": ""
242 },
243 "direction": {
244 "value": ""
245 },
246 "constraint": null
247 },
248 "zIndex": 0
249 },
250 {
251 "index": 0,
252 "isCurve": false,
253 "src_arrow": false,
254 "dst_arrow": true,
255 "references": [
256 {
257 "map_key_edge_index": 1
258 }
259 ],
260 "attributes": {
261 "label": {
262 "value": "wsup"
263 },
264 "labelDimensions": {
265 "width": 0,
266 "height": 0
267 },
268 "style": {},
269 "near_key": null,
270 "shape": {
271 "value": ""
272 },
273 "direction": {
274 "value": ""
275 },
276 "constraint": null
277 },
278 "zIndex": 0
279 }
280 ],
281 "objects": [
282 {
283 "id": "oreo",
284 "id_val": "oreo",
285 "references": [
286 {
287 "key": {
288 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-0:4:4",
289 "path": [
290 {
291 "unquoted_string": {
292 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,0:0:0-0:4:4",
293 "value": [
294 {
295 "string": "oreo",
296 "raw_string": "oreo"
297 }
298 ]
299 }
300 }
301 ]
302 },
303 "key_path_index": 0,
304 "map_key_edge_index": -1
305 }
306 ],
307 "attributes": {
308 "label": {
309 "value": "oreo"
310 },
311 "labelDimensions": {
312 "width": 0,
313 "height": 0
314 },
315 "style": {},
316 "near_key": null,
317 "shape": {
318 "value": "rectangle"
319 },
320 "direction": {
321 "value": ""
322 },
323 "constraint": null
324 },
325 "zIndex": 0
326 },
327 {
328 "id": "q",
329 "id_val": "q",
330 "references": [
331 {
332 "key": {
333 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:3:11",
334 "path": [
335 {
336 "unquoted_string": {
337 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:2:10-1:3:11",
338 "value": [
339 {
340 "string": "q",
341 "raw_string": "q"
342 }
343 ]
344 }
345 }
346 ]
347 },
348 "key_path_index": 0,
349 "map_key_edge_index": 0
350 },
351 {
352 "key": {
353 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:3:31-2:4:32",
354 "path": [
355 {
356 "unquoted_string": {
357 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:3:31-2:4:32",
358 "value": [
359 {
360 "string": "q",
361 "raw_string": "q"
362 }
363 ]
364 }
365 }
366 ]
367 },
368 "key_path_index": 0,
369 "map_key_edge_index": 0
370 }
371 ],
372 "attributes": {
373 "label": {
374 "value": "q"
375 },
376 "labelDimensions": {
377 "width": 0,
378 "height": 0
379 },
380 "style": {},
381 "near_key": null,
382 "shape": {
383 "value": "rectangle"
384 },
385 "direction": {
386 "value": ""
387 },
388 "constraint": null
389 },
390 "zIndex": 0
391 },
392 {
393 "id": "z",
394 "id_val": "z",
395 "references": [
396 {
397 "key": {
398 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
399 "path": [
400 {
401 "unquoted_string": {
402 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
403 "value": [
404 {
405 "string": "z",
406 "raw_string": "z"
407 }
408 ]
409 }
410 }
411 ]
412 },
413 "key_path_index": 0,
414 "map_key_edge_index": 0
415 },
416 {
417 "key": {
418 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
419 "path": [
420 {
421 "unquoted_string": {
422 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:7:15-1:8:16",
423 "value": [
424 {
425 "string": "z",
426 "raw_string": "z"
427 }
428 ]
429 }
430 }
431 ]
432 },
433 "key_path_index": 0,
434 "map_key_edge_index": 1
435 },
436 {
437 "key": {
438 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:8:36-2:9:37",
439 "path": [
440 {
441 "unquoted_string": {
442 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,2:8:36-2:9:37",
443 "value": [
444 {
445 "string": "z",
446 "raw_string": "z"
447 }
448 ]
449 }
450 }
451 ]
452 },
453 "key_path_index": 0,
454 "map_key_edge_index": 0
455 }
456 ],
457 "attributes": {
458 "label": {
459 "value": "z"
460 },
461 "labelDimensions": {
462 "width": 0,
463 "height": 0
464 },
465 "style": {},
466 "near_key": null,
467 "shape": {
468 "value": "rectangle"
469 },
470 "direction": {
471 "value": ""
472 },
473 "constraint": null
474 },
475 "zIndex": 0
476 },
477 {
478 "id": "p",
479 "id_val": "p",
480 "references": [
481 {
482 "key": {
483 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:12:20-1:13:21",
484 "path": [
485 {
486 "unquoted_string": {
487 "range": "d2/testdata/d2oracle/TestSet/edge_chain.d2,1:12:20-1:13:21",
488 "value": [
489 {
490 "string": "p",
491 "raw_string": "p"
492 }
493 ]
494 }
495 }
496 ]
497 },
498 "key_path_index": 0,
499 "map_key_edge_index": 1
500 }
501 ],
502 "attributes": {
503 "label": {
504 "value": "p"
505 },
506 "labelDimensions": {
507 "width": 0,
508 "height": 0
509 },
510 "style": {},
511 "near_key": null,
512 "shape": {
513 "value": "rectangle"
514 },
515 "direction": {
516 "value": ""
517 },
518 "constraint": null
519 },
520 "zIndex": 0
521 }
522 ]
523 },
524 "err": "<nil>"
525}
View as plain text