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

266 lines
5.5 KiB
JSON
Raw Normal View History

{
"name": "",
2023-02-27 22:33:33 +00:00
"isFolderOnly": false,
2022-12-21 07:43:45 +00:00
"fontFamily": "SourceSansPro",
"shapes": [
{
"id": "hey",
"type": "code",
"pos": {
"x": 0,
2023-01-25 20:32:36 +00:00
"y": 166
},
"width": 755,
2023-06-20 00:12:52 +00:00
"height": 203,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2023-01-27 21:30:44 +00:00
"fill": "N7",
"stroke": "N1",
"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",
2023-01-27 21:30:44 +00:00
"color": "N1",
"italic": false,
"bold": true,
"underline": false,
2023-06-20 00:12:52 +00:00
"labelWidth": 739,
"labelHeight": 187,
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": 351,
"y": 0
},
2023-01-25 20:32:36 +00:00
"width": 53,
"height": 66,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2023-01-27 21:30:44 +00:00
"fill": "B6",
"stroke": "B1",
"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": "",
2023-01-27 21:30:44 +00:00
"color": "N1",
"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": 351,
2023-06-20 00:12:52 +00:00
"y": 469
},
2023-01-25 20:32:36 +00:00
"width": 54,
"height": 66,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2023-01-27 21:30:44 +00:00
"fill": "B6",
"stroke": "B1",
"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": "",
2023-01-27 21:30:44 +00:00
"color": "N1",
"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",
"dst": "hey",
"dstArrow": "triangle",
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
2023-01-27 21:30:44 +00:00
"stroke": "B1",
2023-03-01 01:44:15 +00:00
"borderRadius": 10,
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
2023-01-27 21:30:44 +00:00
"color": "N2",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
"x": 377.5,
2023-01-25 20:32:36 +00:00
"y": 66
},
{
"x": 377.5,
2023-01-25 20:32:36 +00:00
"y": 106
},
{
"x": 377.5,
2023-01-25 20:32:36 +00:00
"y": 126
},
{
"x": 377.5,
2023-01-25 20:32:36 +00:00
"y": 166
}
],
"isCurve": true,
"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",
"dst": "y",
"dstArrow": "triangle",
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
2023-01-27 21:30:44 +00:00
"stroke": "B1",
2023-03-01 01:44:15 +00:00
"borderRadius": 10,
"label": "",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
2023-01-27 21:30:44 +00:00
"color": "N2",
"italic": true,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelPosition": "",
"labelPercentage": 0,
"route": [
{
"x": 377.5,
2023-06-20 00:12:52 +00:00
"y": 369
},
{
"x": 377.5,
2023-06-20 00:12:52 +00:00
"y": 409
},
{
"x": 377.5,
2023-06-20 00:12:52 +00:00
"y": 429
},
{
"x": 377.5,
2023-06-20 00:12:52 +00:00
"y": 469
}
],
"isCurve": true,
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
}
2023-02-26 19:41:50 +00:00
],
"root": {
"id": "",
"type": "",
"pos": {
"x": 0,
"y": 0
},
"width": 0,
"height": 0,
"opacity": 0,
"strokeDash": 0,
"strokeWidth": 0,
"borderRadius": 0,
"fill": "N7",
"stroke": "",
"shadow": false,
"3d": false,
"multiple": false,
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"zIndex": 0,
"level": 0
}
}