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