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