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