1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-2:0:14",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:11:11",
11 "edges": [
12 {
13 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:6:6",
14 "src": {
15 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:1:1",
16 "path": [
17 {
18 "unquoted_string": {
19 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:1:1",
20 "value": [
21 {
22 "string": "z",
23 "raw_string": "z"
24 }
25 ]
26 }
27 }
28 ]
29 },
30 "src_arrow": "",
31 "dst": {
32 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
33 "path": [
34 {
35 "unquoted_string": {
36 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
37 "value": [
38 {
39 "string": "x",
40 "raw_string": "x"
41 }
42 ]
43 }
44 }
45 ]
46 },
47 "dst_arrow": ">"
48 },
49 {
50 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:11:11",
51 "src": {
52 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
53 "path": [
54 {
55 "unquoted_string": {
56 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
57 "value": [
58 {
59 "string": "x",
60 "raw_string": "x"
61 }
62 ]
63 }
64 }
65 ]
66 },
67 "src_arrow": "",
68 "dst": {
69 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:10:10-0:11:11",
70 "path": [
71 {
72 "unquoted_string": {
73 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:10:10-0:11:11",
74 "value": [
75 {
76 "string": "z",
77 "raw_string": "z"
78 }
79 ]
80 }
81 }
82 ]
83 },
84 "dst_arrow": ">"
85 }
86 ],
87 "primary": {},
88 "value": {}
89 }
90 },
91 {
92 "map_key": {
93 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,1:0:12-1:1:13",
94 "key": {
95 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,1:0:12-1:1:13",
96 "path": [
97 {
98 "unquoted_string": {
99 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,1:0:12-1:1:13",
100 "value": [
101 {
102 "string": "y",
103 "raw_string": "y"
104 }
105 ]
106 }
107 }
108 ]
109 },
110 "primary": {},
111 "value": {}
112 }
113 }
114 ]
115 },
116 "root": {
117 "id": "",
118 "id_val": "",
119 "attributes": {
120 "label": {
121 "value": ""
122 },
123 "labelDimensions": {
124 "width": 0,
125 "height": 0
126 },
127 "style": {},
128 "near_key": null,
129 "shape": {
130 "value": ""
131 },
132 "direction": {
133 "value": ""
134 },
135 "constraint": null
136 },
137 "zIndex": 0
138 },
139 "edges": [
140 {
141 "index": 0,
142 "isCurve": false,
143 "src_arrow": false,
144 "dst_arrow": true,
145 "references": [
146 {
147 "map_key_edge_index": 0
148 }
149 ],
150 "attributes": {
151 "label": {
152 "value": ""
153 },
154 "labelDimensions": {
155 "width": 0,
156 "height": 0
157 },
158 "style": {},
159 "near_key": null,
160 "shape": {
161 "value": ""
162 },
163 "direction": {
164 "value": ""
165 },
166 "constraint": null
167 },
168 "zIndex": 0
169 },
170 {
171 "index": 0,
172 "isCurve": false,
173 "src_arrow": false,
174 "dst_arrow": true,
175 "references": [
176 {
177 "map_key_edge_index": 1
178 }
179 ],
180 "attributes": {
181 "label": {
182 "value": ""
183 },
184 "labelDimensions": {
185 "width": 0,
186 "height": 0
187 },
188 "style": {},
189 "near_key": null,
190 "shape": {
191 "value": ""
192 },
193 "direction": {
194 "value": ""
195 },
196 "constraint": null
197 },
198 "zIndex": 0
199 }
200 ],
201 "objects": [
202 {
203 "id": "z",
204 "id_val": "z",
205 "references": [
206 {
207 "key": {
208 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:1:1",
209 "path": [
210 {
211 "unquoted_string": {
212 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:0:0-0:1:1",
213 "value": [
214 {
215 "string": "z",
216 "raw_string": "z"
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/chain_connected_nested.d2,0:10:10-0:11:11",
229 "path": [
230 {
231 "unquoted_string": {
232 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:10:10-0:11:11",
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": "x",
269 "id_val": "x",
270 "references": [
271 {
272 "key": {
273 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
274 "path": [
275 {
276 "unquoted_string": {
277 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
278 "value": [
279 {
280 "string": "x",
281 "raw_string": "x"
282 }
283 ]
284 }
285 }
286 ]
287 },
288 "key_path_index": 0,
289 "map_key_edge_index": 0
290 },
291 {
292 "key": {
293 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
294 "path": [
295 {
296 "unquoted_string": {
297 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,0:5:5-0:6:6",
298 "value": [
299 {
300 "string": "x",
301 "raw_string": "x"
302 }
303 ]
304 }
305 }
306 ]
307 },
308 "key_path_index": 0,
309 "map_key_edge_index": 1
310 }
311 ],
312 "attributes": {
313 "label": {
314 "value": "x"
315 },
316 "labelDimensions": {
317 "width": 0,
318 "height": 0
319 },
320 "style": {},
321 "near_key": null,
322 "shape": {
323 "value": "rectangle"
324 },
325 "direction": {
326 "value": ""
327 },
328 "constraint": null
329 },
330 "zIndex": 0
331 },
332 {
333 "id": "y",
334 "id_val": "y",
335 "references": [
336 {
337 "key": {
338 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,1:0:12-1:1:13",
339 "path": [
340 {
341 "unquoted_string": {
342 "range": "d2/testdata/d2oracle/TestMove/chain_connected_nested.d2,1:0:12-1:1:13",
343 "value": [
344 {
345 "string": "y",
346 "raw_string": "y"
347 }
348 ]
349 }
350 }
351 ]
352 },
353 "key_path_index": 0,
354 "map_key_edge_index": -1
355 }
356 ],
357 "attributes": {
358 "label": {
359 "value": "y"
360 },
361 "labelDimensions": {
362 "width": 0,
363 "height": 0
364 },
365 "style": {},
366 "near_key": null,
367 "shape": {
368 "value": "rectangle"
369 },
370 "direction": {
371 "value": ""
372 },
373 "constraint": null
374 },
375 "zIndex": 0
376 }
377 ]
378 },
379 "err": "<nil>"
380}
View as plain text