1{
2 "graph": {
3 "name": "",
4 "isFolderOnly": false,
5 "ast": {
6 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,0:0:0-3:0:11",
7 "nodes": [
8 {
9 "map_key": {
10 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,0:0:0-2:1:10",
11 "key": {
12 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,0:0:0-0:1:1",
13 "path": [
14 {
15 "unquoted_string": {
16 "range": "d2/testdata/d2oracle/TestMove/basic_nested.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/basic_nested.d2,0:3:3-2:1:10",
31 "nodes": [
32 {
33 "map_key": {
34 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,1:2:7-1:3:8",
35 "key": {
36 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,1:2:7-1:3:8",
37 "path": [
38 {
39 "unquoted_string": {
40 "range": "d2/testdata/d2oracle/TestMove/basic_nested.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 }
54 }
55 ]
56 }
57 }
58 }
59 }
60 ]
61 },
62 "root": {
63 "id": "",
64 "id_val": "",
65 "attributes": {
66 "label": {
67 "value": ""
68 },
69 "labelDimensions": {
70 "width": 0,
71 "height": 0
72 },
73 "style": {},
74 "near_key": null,
75 "shape": {
76 "value": ""
77 },
78 "direction": {
79 "value": ""
80 },
81 "constraint": null
82 },
83 "zIndex": 0
84 },
85 "edges": null,
86 "objects": [
87 {
88 "id": "a",
89 "id_val": "a",
90 "references": [
91 {
92 "key": {
93 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,0:0:0-0:1:1",
94 "path": [
95 {
96 "unquoted_string": {
97 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,0:0:0-0:1:1",
98 "value": [
99 {
100 "string": "a",
101 "raw_string": "a"
102 }
103 ]
104 }
105 }
106 ]
107 },
108 "key_path_index": 0,
109 "map_key_edge_index": -1
110 }
111 ],
112 "attributes": {
113 "label": {
114 "value": "a"
115 },
116 "labelDimensions": {
117 "width": 0,
118 "height": 0
119 },
120 "style": {},
121 "near_key": null,
122 "shape": {
123 "value": "rectangle"
124 },
125 "direction": {
126 "value": ""
127 },
128 "constraint": null
129 },
130 "zIndex": 0
131 },
132 {
133 "id": "c",
134 "id_val": "c",
135 "references": [
136 {
137 "key": {
138 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,1:2:7-1:3:8",
139 "path": [
140 {
141 "unquoted_string": {
142 "range": "d2/testdata/d2oracle/TestMove/basic_nested.d2,1:2:7-1:3:8",
143 "value": [
144 {
145 "string": "c",
146 "raw_string": "c"
147 }
148 ]
149 }
150 }
151 ]
152 },
153 "key_path_index": 0,
154 "map_key_edge_index": -1
155 }
156 ],
157 "attributes": {
158 "label": {
159 "value": "c"
160 },
161 "labelDimensions": {
162 "width": 0,
163 "height": 0
164 },
165 "style": {},
166 "near_key": null,
167 "shape": {
168 "value": "rectangle"
169 },
170 "direction": {
171 "value": ""
172 },
173 "constraint": null
174 },
175 "zIndex": 0
176 }
177 ]
178 },
179 "err": "<nil>"
180}
View as plain text