1{
2 "name": "",
3 "isFolderOnly": false,
4 "fontFamily": "SourceSansPro",
5 "shapes": [
6 {
7 "id": "hey",
8 "type": "code",
9 "pos": {
10 "x": 0,
11 "y": 166
12 },
13 "width": 755,
14 "height": 203,
15 "opacity": 1,
16 "strokeDash": 0,
17 "strokeWidth": 2,
18 "borderRadius": 0,
19 "fill": "N7",
20 "stroke": "N1",
21 "shadow": false,
22 "3d": false,
23 "multiple": false,
24 "double-border": false,
25 "tooltip": "",
26 "link": "",
27 "icon": null,
28 "iconPosition": "",
29 "blend": false,
30 "fields": null,
31 "methods": null,
32 "columns": null,
33 "label": "// RegisterHash registers a function that returns a new instance of the given\n// hash function. This is intended to be called from the init function in\n// packages that implement hash functions.\nfunc RegisterHash(h Hash, f func() hash.Hash) {\n\tif h >= maxHash {\n\t\tpanic(\"crypto: RegisterHash of unknown hash function\")\n\t}\n\thashes[h] = f\n}",
34 "fontSize": 16,
35 "fontFamily": "DEFAULT",
36 "language": "golang",
37 "color": "N1",
38 "italic": false,
39 "bold": true,
40 "underline": false,
41 "labelWidth": 739,
42 "labelHeight": 187,
43 "zIndex": 0,
44 "level": 1
45 },
46 {
47 "id": "x",
48 "type": "rectangle",
49 "pos": {
50 "x": 351,
51 "y": 0
52 },
53 "width": 53,
54 "height": 66,
55 "opacity": 1,
56 "strokeDash": 0,
57 "strokeWidth": 2,
58 "borderRadius": 0,
59 "fill": "B6",
60 "stroke": "B1",
61 "shadow": false,
62 "3d": false,
63 "multiple": false,
64 "double-border": false,
65 "tooltip": "",
66 "link": "",
67 "icon": null,
68 "iconPosition": "",
69 "blend": false,
70 "fields": null,
71 "methods": null,
72 "columns": null,
73 "label": "x",
74 "fontSize": 16,
75 "fontFamily": "DEFAULT",
76 "language": "",
77 "color": "N1",
78 "italic": false,
79 "bold": true,
80 "underline": false,
81 "labelWidth": 8,
82 "labelHeight": 21,
83 "labelPosition": "INSIDE_MIDDLE_CENTER",
84 "zIndex": 0,
85 "level": 1
86 },
87 {
88 "id": "y",
89 "type": "rectangle",
90 "pos": {
91 "x": 351,
92 "y": 469
93 },
94 "width": 54,
95 "height": 66,
96 "opacity": 1,
97 "strokeDash": 0,
98 "strokeWidth": 2,
99 "borderRadius": 0,
100 "fill": "B6",
101 "stroke": "B1",
102 "shadow": false,
103 "3d": false,
104 "multiple": false,
105 "double-border": false,
106 "tooltip": "",
107 "link": "",
108 "icon": null,
109 "iconPosition": "",
110 "blend": false,
111 "fields": null,
112 "methods": null,
113 "columns": null,
114 "label": "y",
115 "fontSize": 16,
116 "fontFamily": "DEFAULT",
117 "language": "",
118 "color": "N1",
119 "italic": false,
120 "bold": true,
121 "underline": false,
122 "labelWidth": 9,
123 "labelHeight": 21,
124 "labelPosition": "INSIDE_MIDDLE_CENTER",
125 "zIndex": 0,
126 "level": 1
127 }
128 ],
129 "connections": [
130 {
131 "id": "(x -> hey)[0]",
132 "src": "x",
133 "srcArrow": "none",
134 "dst": "hey",
135 "dstArrow": "triangle",
136 "opacity": 1,
137 "strokeDash": 0,
138 "strokeWidth": 2,
139 "stroke": "B1",
140 "borderRadius": 10,
141 "label": "",
142 "fontSize": 16,
143 "fontFamily": "DEFAULT",
144 "language": "",
145 "color": "N2",
146 "italic": true,
147 "bold": false,
148 "underline": false,
149 "labelWidth": 0,
150 "labelHeight": 0,
151 "labelPosition": "",
152 "labelPercentage": 0,
153 "route": [
154 {
155 "x": 377.5,
156 "y": 66
157 },
158 {
159 "x": 377.5,
160 "y": 106
161 },
162 {
163 "x": 377.5,
164 "y": 126
165 },
166 {
167 "x": 377.5,
168 "y": 166
169 }
170 ],
171 "isCurve": true,
172 "animated": false,
173 "tooltip": "",
174 "icon": null,
175 "zIndex": 0
176 },
177 {
178 "id": "(hey -> y)[0]",
179 "src": "hey",
180 "srcArrow": "none",
181 "dst": "y",
182 "dstArrow": "triangle",
183 "opacity": 1,
184 "strokeDash": 0,
185 "strokeWidth": 2,
186 "stroke": "B1",
187 "borderRadius": 10,
188 "label": "",
189 "fontSize": 16,
190 "fontFamily": "DEFAULT",
191 "language": "",
192 "color": "N2",
193 "italic": true,
194 "bold": false,
195 "underline": false,
196 "labelWidth": 0,
197 "labelHeight": 0,
198 "labelPosition": "",
199 "labelPercentage": 0,
200 "route": [
201 {
202 "x": 377.5,
203 "y": 369
204 },
205 {
206 "x": 377.5,
207 "y": 409
208 },
209 {
210 "x": 377.5,
211 "y": 429
212 },
213 {
214 "x": 377.5,
215 "y": 469
216 }
217 ],
218 "isCurve": true,
219 "animated": false,
220 "tooltip": "",
221 "icon": null,
222 "zIndex": 0
223 }
224 ],
225 "root": {
226 "id": "",
227 "type": "",
228 "pos": {
229 "x": 0,
230 "y": 0
231 },
232 "width": 0,
233 "height": 0,
234 "opacity": 0,
235 "strokeDash": 0,
236 "strokeWidth": 0,
237 "borderRadius": 0,
238 "fill": "N7",
239 "stroke": "",
240 "shadow": false,
241 "3d": false,
242 "multiple": false,
243 "double-border": false,
244 "tooltip": "",
245 "link": "",
246 "icon": null,
247 "iconPosition": "",
248 "blend": false,
249 "fields": null,
250 "methods": null,
251 "columns": null,
252 "label": "",
253 "fontSize": 0,
254 "fontFamily": "",
255 "language": "",
256 "color": "",
257 "italic": false,
258 "bold": false,
259 "underline": false,
260 "labelWidth": 0,
261 "labelHeight": 0,
262 "zIndex": 0,
263 "level": 0
264 }
265}
View as plain text