1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,0:0:0-4:0:17",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,0:0:0-0:1:1",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,0:0:0-0:1:1",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.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 }
30 },
31 {
32 "map_key": {
33 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-3:1:16",
34 "key": {
35 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:3:5",
36 "path": [
37 {
38 "unquoted_string": {
39 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:1:3",
40 "value": [
41 {
42 "string": "a",
43 "raw_string": "a"
44 }
45 ]
46 }
47 },
48 {
49 "unquoted_string": {
50 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:2:4-1:3:5",
51 "value": [
52 {
53 "string": "z",
54 "raw_string": "z"
55 }
56 ]
57 }
58 }
59 ]
60 },
61 "primary": {},
62 "value": {
63 "map": {
64 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:5:7-3:1:16",
65 "nodes": [
66 {
67 "map_key": {
68 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:5:14",
69 "key": {
70 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:5:14",
71 "path": [
72 {
73 "unquoted_string": {
74 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:3:12",
75 "value": [
76 {
77 "string": "x",
78 "raw_string": "x"
79 }
80 ]
81 }
82 },
83 {
84 "unquoted_string": {
85 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:4:13-2:5:14",
86 "value": [
87 {
88 "string": "y",
89 "raw_string": "y"
90 }
91 ]
92 }
93 }
94 ]
95 },
96 "primary": {},
97 "value": {}
98 }
99 }
100 ]
101 }
102 }
103 }
104 }
105 ]
106 },
107 "root": {
108 "id": "",
109 "id_val": "",
110 "attributes": {
111 "label": {
112 "value": ""
113 },
114 "labelDimensions": {
115 "width": 0,
116 "height": 0
117 },
118 "style": {},
119 "near_key": null,
120 "shape": {
121 "value": ""
122 },
123 "direction": {
124 "value": ""
125 },
126 "constraint": null
127 },
128 "zIndex": 0
129 },
130 "edges": null,
131 "objects": [
132 {
133 "id": "a",
134 "id_val": "a",
135 "references": [
136 {
137 "key": {
138 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,0:0:0-0:1:1",
139 "path": [
140 {
141 "unquoted_string": {
142 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,0:0:0-0:1:1",
143 "value": [
144 {
145 "string": "a",
146 "raw_string": "a"
147 }
148 ]
149 }
150 }
151 ]
152 },
153 "key_path_index": 0,
154 "map_key_edge_index": -1
155 },
156 {
157 "key": {
158 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:3:5",
159 "path": [
160 {
161 "unquoted_string": {
162 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:1:3",
163 "value": [
164 {
165 "string": "a",
166 "raw_string": "a"
167 }
168 ]
169 }
170 },
171 {
172 "unquoted_string": {
173 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:2:4-1:3:5",
174 "value": [
175 {
176 "string": "z",
177 "raw_string": "z"
178 }
179 ]
180 }
181 }
182 ]
183 },
184 "key_path_index": 0,
185 "map_key_edge_index": -1
186 }
187 ],
188 "attributes": {
189 "label": {
190 "value": "a"
191 },
192 "labelDimensions": {
193 "width": 0,
194 "height": 0
195 },
196 "style": {},
197 "near_key": null,
198 "shape": {
199 "value": "rectangle"
200 },
201 "direction": {
202 "value": ""
203 },
204 "constraint": null
205 },
206 "zIndex": 0
207 },
208 {
209 "id": "z",
210 "id_val": "z",
211 "references": [
212 {
213 "key": {
214 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:3:5",
215 "path": [
216 {
217 "unquoted_string": {
218 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:0:2-1:1:3",
219 "value": [
220 {
221 "string": "a",
222 "raw_string": "a"
223 }
224 ]
225 }
226 },
227 {
228 "unquoted_string": {
229 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,1:2:4-1:3:5",
230 "value": [
231 {
232 "string": "z",
233 "raw_string": "z"
234 }
235 ]
236 }
237 }
238 ]
239 },
240 "key_path_index": 1,
241 "map_key_edge_index": -1
242 }
243 ],
244 "attributes": {
245 "label": {
246 "value": "z"
247 },
248 "labelDimensions": {
249 "width": 0,
250 "height": 0
251 },
252 "style": {},
253 "near_key": null,
254 "shape": {
255 "value": "rectangle"
256 },
257 "direction": {
258 "value": ""
259 },
260 "constraint": null
261 },
262 "zIndex": 0
263 },
264 {
265 "id": "x",
266 "id_val": "x",
267 "references": [
268 {
269 "key": {
270 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:5:14",
271 "path": [
272 {
273 "unquoted_string": {
274 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:3:12",
275 "value": [
276 {
277 "string": "x",
278 "raw_string": "x"
279 }
280 ]
281 }
282 },
283 {
284 "unquoted_string": {
285 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:4:13-2:5:14",
286 "value": [
287 {
288 "string": "y",
289 "raw_string": "y"
290 }
291 ]
292 }
293 }
294 ]
295 },
296 "key_path_index": 0,
297 "map_key_edge_index": -1
298 }
299 ],
300 "attributes": {
301 "label": {
302 "value": "x"
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": "y",
322 "id_val": "y",
323 "references": [
324 {
325 "key": {
326 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:5:14",
327 "path": [
328 {
329 "unquoted_string": {
330 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:2:11-2:3:12",
331 "value": [
332 {
333 "string": "x",
334 "raw_string": "x"
335 }
336 ]
337 }
338 },
339 {
340 "unquoted_string": {
341 "range": "d2/testdata/d2oracle/TestMove/include_descendants_flat_2.d2,2:4:13-2:5:14",
342 "value": [
343 {
344 "string": "y",
345 "raw_string": "y"
346 }
347 ]
348 }
349 }
350 ]
351 },
352 "key_path_index": 1,
353 "map_key_edge_index": -1
354 }
355 ],
356 "attributes": {
357 "label": {
358 "value": "y"
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 },
378 "err": "<nil>"
379}
View as plain text