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