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