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