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