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