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