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