1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,0:0:0-8:0:40",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,0:0:0-2:1:23",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,0:0:0-0:1:1",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.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/underscore-connection.d2,0:3:3-2:1:23",
31 "nodes": [
32 {
33 "map_key": {
34 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:16:21",
35 "edges": [
36 {
37 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:16:21",
38 "src": {
39 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:7:12",
40 "path": [
41 {
42 "unquoted_string": {
43 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:3:8",
44 "value": [
45 {
46 "string": "_",
47 "raw_string": "_"
48 }
49 ]
50 }
51 },
52 {
53 "unquoted_string": {
54 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:4:9-1:5:10",
55 "value": [
56 {
57 "string": "c",
58 "raw_string": "c"
59 }
60 ]
61 }
62 },
63 {
64 "unquoted_string": {
65 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:6:11-1:7:12",
66 "value": [
67 {
68 "string": "d",
69 "raw_string": "d"
70 }
71 ]
72 }
73 }
74 ]
75 },
76 "src_arrow": "",
77 "dst": {
78 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:16:21",
79 "path": [
80 {
81 "unquoted_string": {
82 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:12:17",
83 "value": [
84 {
85 "string": "_",
86 "raw_string": "_"
87 }
88 ]
89 }
90 },
91 {
92 "unquoted_string": {
93 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:13:18-1:14:19",
94 "value": [
95 {
96 "string": "c",
97 "raw_string": "c"
98 }
99 ]
100 }
101 },
102 {
103 "unquoted_string": {
104 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:15:20-1:16:21",
105 "value": [
106 {
107 "string": "b",
108 "raw_string": "b"
109 }
110 ]
111 }
112 }
113 ]
114 },
115 "dst_arrow": ">"
116 }
117 ],
118 "primary": {},
119 "value": {}
120 }
121 }
122 ]
123 }
124 }
125 }
126 },
127 {
128 "map_key": {
129 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:0:25-7:1:39",
130 "key": {
131 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:0:25-4:1:26",
132 "path": [
133 {
134 "unquoted_string": {
135 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:0:25-4:1:26",
136 "value": [
137 {
138 "string": "c",
139 "raw_string": "c"
140 }
141 ]
142 }
143 }
144 ]
145 },
146 "primary": {},
147 "value": {
148 "map": {
149 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:3:28-7:1:39",
150 "nodes": [
151 {
152 "map_key": {
153 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,5:2:32-5:3:33",
154 "key": {
155 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,5:2:32-5:3:33",
156 "path": [
157 {
158 "unquoted_string": {
159 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,5:2:32-5:3:33",
160 "value": [
161 {
162 "string": "d",
163 "raw_string": "d"
164 }
165 ]
166 }
167 }
168 ]
169 },
170 "primary": {},
171 "value": {}
172 }
173 },
174 {
175 "map_key": {
176 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,6:2:36-6:3:37",
177 "key": {
178 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,6:2:36-6:3:37",
179 "path": [
180 {
181 "unquoted_string": {
182 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,6:2:36-6:3:37",
183 "value": [
184 {
185 "string": "b",
186 "raw_string": "b"
187 }
188 ]
189 }
190 }
191 ]
192 },
193 "primary": {},
194 "value": {}
195 }
196 }
197 ]
198 }
199 }
200 }
201 }
202 ]
203 },
204 "root": {
205 "id": "",
206 "id_val": "",
207 "attributes": {
208 "label": {
209 "value": ""
210 },
211 "labelDimensions": {
212 "width": 0,
213 "height": 0
214 },
215 "style": {},
216 "near_key": null,
217 "shape": {
218 "value": ""
219 },
220 "direction": {
221 "value": ""
222 },
223 "constraint": null
224 },
225 "zIndex": 0
226 },
227 "edges": [
228 {
229 "index": 0,
230 "isCurve": false,
231 "src_arrow": false,
232 "dst_arrow": true,
233 "references": [
234 {
235 "map_key_edge_index": 0
236 }
237 ],
238 "attributes": {
239 "label": {
240 "value": ""
241 },
242 "labelDimensions": {
243 "width": 0,
244 "height": 0
245 },
246 "style": {},
247 "near_key": null,
248 "shape": {
249 "value": ""
250 },
251 "direction": {
252 "value": ""
253 },
254 "constraint": null
255 },
256 "zIndex": 0
257 }
258 ],
259 "objects": [
260 {
261 "id": "a",
262 "id_val": "a",
263 "references": [
264 {
265 "key": {
266 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,0:0:0-0:1:1",
267 "path": [
268 {
269 "unquoted_string": {
270 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,0:0:0-0:1:1",
271 "value": [
272 {
273 "string": "a",
274 "raw_string": "a"
275 }
276 ]
277 }
278 }
279 ]
280 },
281 "key_path_index": 0,
282 "map_key_edge_index": -1
283 }
284 ],
285 "attributes": {
286 "label": {
287 "value": "a"
288 },
289 "labelDimensions": {
290 "width": 0,
291 "height": 0
292 },
293 "style": {},
294 "near_key": null,
295 "shape": {
296 "value": "rectangle"
297 },
298 "direction": {
299 "value": ""
300 },
301 "constraint": null
302 },
303 "zIndex": 0
304 },
305 {
306 "id": "c",
307 "id_val": "c",
308 "references": [
309 {
310 "key": {
311 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:7:12",
312 "path": [
313 {
314 "unquoted_string": {
315 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:3:8",
316 "value": [
317 {
318 "string": "_",
319 "raw_string": "_"
320 }
321 ]
322 }
323 },
324 {
325 "unquoted_string": {
326 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:4:9-1:5:10",
327 "value": [
328 {
329 "string": "c",
330 "raw_string": "c"
331 }
332 ]
333 }
334 },
335 {
336 "unquoted_string": {
337 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:6:11-1:7:12",
338 "value": [
339 {
340 "string": "d",
341 "raw_string": "d"
342 }
343 ]
344 }
345 }
346 ]
347 },
348 "key_path_index": 1,
349 "map_key_edge_index": 0
350 },
351 {
352 "key": {
353 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:16:21",
354 "path": [
355 {
356 "unquoted_string": {
357 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:12:17",
358 "value": [
359 {
360 "string": "_",
361 "raw_string": "_"
362 }
363 ]
364 }
365 },
366 {
367 "unquoted_string": {
368 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:13:18-1:14:19",
369 "value": [
370 {
371 "string": "c",
372 "raw_string": "c"
373 }
374 ]
375 }
376 },
377 {
378 "unquoted_string": {
379 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:15:20-1:16:21",
380 "value": [
381 {
382 "string": "b",
383 "raw_string": "b"
384 }
385 ]
386 }
387 }
388 ]
389 },
390 "key_path_index": 1,
391 "map_key_edge_index": 0
392 },
393 {
394 "key": {
395 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:0:25-4:1:26",
396 "path": [
397 {
398 "unquoted_string": {
399 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,4:0:25-4:1:26",
400 "value": [
401 {
402 "string": "c",
403 "raw_string": "c"
404 }
405 ]
406 }
407 }
408 ]
409 },
410 "key_path_index": 0,
411 "map_key_edge_index": -1
412 }
413 ],
414 "attributes": {
415 "label": {
416 "value": "c"
417 },
418 "labelDimensions": {
419 "width": 0,
420 "height": 0
421 },
422 "style": {},
423 "near_key": null,
424 "shape": {
425 "value": "rectangle"
426 },
427 "direction": {
428 "value": ""
429 },
430 "constraint": null
431 },
432 "zIndex": 0
433 },
434 {
435 "id": "d",
436 "id_val": "d",
437 "references": [
438 {
439 "key": {
440 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:7:12",
441 "path": [
442 {
443 "unquoted_string": {
444 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:2:7-1:3:8",
445 "value": [
446 {
447 "string": "_",
448 "raw_string": "_"
449 }
450 ]
451 }
452 },
453 {
454 "unquoted_string": {
455 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:4:9-1:5:10",
456 "value": [
457 {
458 "string": "c",
459 "raw_string": "c"
460 }
461 ]
462 }
463 },
464 {
465 "unquoted_string": {
466 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:6:11-1:7:12",
467 "value": [
468 {
469 "string": "d",
470 "raw_string": "d"
471 }
472 ]
473 }
474 }
475 ]
476 },
477 "key_path_index": 2,
478 "map_key_edge_index": 0
479 },
480 {
481 "key": {
482 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,5:2:32-5:3:33",
483 "path": [
484 {
485 "unquoted_string": {
486 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,5:2:32-5:3:33",
487 "value": [
488 {
489 "string": "d",
490 "raw_string": "d"
491 }
492 ]
493 }
494 }
495 ]
496 },
497 "key_path_index": 0,
498 "map_key_edge_index": -1
499 }
500 ],
501 "attributes": {
502 "label": {
503 "value": "d"
504 },
505 "labelDimensions": {
506 "width": 0,
507 "height": 0
508 },
509 "style": {},
510 "near_key": null,
511 "shape": {
512 "value": "rectangle"
513 },
514 "direction": {
515 "value": ""
516 },
517 "constraint": null
518 },
519 "zIndex": 0
520 },
521 {
522 "id": "b",
523 "id_val": "b",
524 "references": [
525 {
526 "key": {
527 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:16:21",
528 "path": [
529 {
530 "unquoted_string": {
531 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:11:16-1:12:17",
532 "value": [
533 {
534 "string": "_",
535 "raw_string": "_"
536 }
537 ]
538 }
539 },
540 {
541 "unquoted_string": {
542 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:13:18-1:14:19",
543 "value": [
544 {
545 "string": "c",
546 "raw_string": "c"
547 }
548 ]
549 }
550 },
551 {
552 "unquoted_string": {
553 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,1:15:20-1:16:21",
554 "value": [
555 {
556 "string": "b",
557 "raw_string": "b"
558 }
559 ]
560 }
561 }
562 ]
563 },
564 "key_path_index": 2,
565 "map_key_edge_index": 0
566 },
567 {
568 "key": {
569 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,6:2:36-6:3:37",
570 "path": [
571 {
572 "unquoted_string": {
573 "range": "d2/testdata/d2oracle/TestMove/underscore-connection.d2,6:2:36-6:3:37",
574 "value": [
575 {
576 "string": "b",
577 "raw_string": "b"
578 }
579 ]
580 }
581 }
582 ]
583 },
584 "key_path_index": 0,
585 "map_key_edge_index": -1
586 }
587 ],
588 "attributes": {
589 "label": {
590 "value": "b"
591 },
592 "labelDimensions": {
593 "width": 0,
594 "height": 0
595 },
596 "style": {},
597 "near_key": null,
598 "shape": {
599 "value": "rectangle"
600 },
601 "direction": {
602 "value": ""
603 },
604 "constraint": null
605 },
606 "zIndex": 0
607 }
608 ]
609 },
610 "err": "<nil>"
611}
View as plain text