d2/e2etests/testdata/stable/code_snippet/elk/board.exp.json

209 lines
4.6 KiB
JSON
Raw Normal View History

{
"name": "",
2022-12-21 07:43:45 +00:00
"fontFamily": "SourceSansPro",
"shapes": [
{
"id": "hey",
"type": "code",
"pos": {
2022-11-30 00:12:23 +00:00
"x": 12,
2023-02-11 05:25:28 +00:00
"y": 148
},
"width": 755,
"height": 166,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#FFFFFF",
"stroke": "#0A0F25",
"shadow": false,
"3d": false,
"multiple": false,
2023-01-01 08:13:32 +00:00
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"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}",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "golang",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
2023-02-03 21:59:12 +00:00
"labelWidth": 750,
"labelHeight": 161,
2022-11-30 19:23:30 +00:00
"zIndex": 0,
"level": 1
},
{
"id": "x",
"type": "rectangle",
"pos": {
2023-01-25 20:32:36 +00:00
"x": 363,
2022-11-30 00:12:23 +00:00
"y": 12
},
2023-01-25 20:32:36 +00:00
"width": 53,
"height": 66,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#F7F8FE",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
2023-01-01 08:13:32 +00:00
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "x",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
2023-02-03 21:59:12 +00:00
"labelWidth": 8,
"labelHeight": 21,
2022-11-29 22:22:23 +00:00
"labelPosition": "INSIDE_MIDDLE_CENTER",
2022-11-30 19:23:30 +00:00
"zIndex": 0,
"level": 1
},
{
"id": "y",
"type": "rectangle",
"pos": {
2023-01-25 20:32:36 +00:00
"x": 362,
2023-02-11 05:25:28 +00:00
"y": 384
},
2023-01-25 20:32:36 +00:00
"width": 54,
"height": 66,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#F7F8FE",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
2023-01-01 08:13:32 +00:00
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "y",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
2023-02-03 21:59:12 +00:00
"labelWidth": 9,
"labelHeight": 21,
2022-11-29 22:22:23 +00:00
"labelPosition": "INSIDE_MIDDLE_CENTER",
2022-11-30 19:23:30 +00:00
"zIndex": 0,
"level": 1
}
],
"connections": [
{
"id": "(x -> hey)[0]",
"src": "x",
"srcArrow": "none",
"srcLabel": "",
"dst": "hey",
"dstArrow": "triangle",
"dstLabel": "",
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"stroke": "#0D32B2",
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#676C7E",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
2022-11-30 00:12:23 +00:00
"x": 389.5,
2023-01-25 20:32:36 +00:00
"y": 78
},
{
2022-11-30 00:12:23 +00:00
"x": 389.5,
2023-02-11 05:25:28 +00:00
"y": 148
}
],
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
},
{
"id": "(hey -> y)[0]",
"src": "hey",
"srcArrow": "none",
"srcLabel": "",
"dst": "y",
"dstArrow": "triangle",
"dstLabel": "",
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"stroke": "#0D32B2",
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#676C7E",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
2022-11-30 00:12:23 +00:00
"x": 389.5,
2023-02-11 05:25:28 +00:00
"y": 314
},
{
2022-11-30 00:12:23 +00:00
"x": 389.5,
2023-02-11 05:25:28 +00:00
"y": 384
}
],
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
}
]
}