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