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