d2/e2etests/testdata/regression/unnamed_class_table_code/dagre/board.exp.json

447 lines
9.6 KiB
JSON
Raw Normal View History

{
"name": "",
2023-02-27 22:33:33 +00:00
"isFolderOnly": false,
"fontFamily": "SourceSansPro",
"shapes": [
{
"id": "class",
"type": "class",
"pos": {
"x": 0,
"y": 0
},
2023-03-29 17:03:44 +00:00
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2023-01-27 21:30:44 +00:00
"fill": "N1",
"stroke": "N7",
"shadow": false,
"3d": false,
"multiple": false,
2023-01-01 08:13:32 +00:00
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": [
{
"name": "num",
"type": "int",
"visibility": "private"
},
{
"name": "timeout",
"type": "int",
"visibility": "private"
},
{
"name": "pid",
"type": "",
"visibility": "private"
}
],
"methods": [
{
"name": "getStatus()",
"return": "Enum",
"visibility": "public"
},
{
"name": "getJobs()",
"return": "Job[]",
"visibility": "public"
},
{
"name": "setTimeout(seconds int)",
"return": "void",
"visibility": "public"
}
],
"columns": null,
"label": "",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
2023-01-27 21:30:44 +00:00
"color": "N1",
"italic": false,
"bold": false,
"underline": false,
2022-12-29 02:18:28 +00:00
"labelWidth": 0,
"labelHeight": 0,
"zIndex": 0,
"level": 1,
2023-01-27 21:30:44 +00:00
"primaryAccentColor": "B2",
"secondaryAccentColor": "AA2",
"neutralAccentColor": "N2"
},
{
"id": "users",
"type": "sql_table",
"pos": {
2023-03-29 17:03:44 +00:00
"x": 107,
"y": 468
},
"width": 208,
2022-12-29 02:18:28 +00:00
"height": 186,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2023-01-27 21:30:44 +00:00
"fill": "N1",
"stroke": "N7",
"shadow": false,
"3d": false,
"multiple": false,
2023-01-01 08:13:32 +00:00
"double-border": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": [
{
"name": {
"label": "id",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
},
{
"name": {
"label": "name",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
},
{
"name": {
"label": "email",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
},
{
"name": {
"label": "password",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
},
{
"name": {
"label": "last_login",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
}
],
"label": "",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
2023-01-27 21:30:44 +00:00
"color": "N1",
"italic": false,
"bold": true,
"underline": false,
2022-12-29 02:18:28 +00:00
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
2023-01-27 21:30:44 +00:00
"primaryAccentColor": "B2",
"secondaryAccentColor": "AA2",
"neutralAccentColor": "N2"
},
{
"id": "code",
"type": "code",
"pos": {
2023-03-29 17:03:44 +00:00
"x": 113,
2022-12-29 02:18:28 +00:00
"y": 754
},
"width": 196,
"height": 70,
"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": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "a := 5\nb := a + 7\nfmt.Printf(\"%d\", b)",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "golang",
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": 191,
"labelHeight": 65,
"zIndex": 0,
"level": 1
}
],
"connections": [
{
"id": "(class -> users)[0]",
"src": "class",
"srcArrow": "none",
"srcLabel": "",
"dst": "users",
"dstArrow": "triangle",
"dstLabel": "",
"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": [
{
2023-03-29 17:03:44 +00:00
"x": 211,
"y": 368
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
"y": 408
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
"y": 428
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
"y": 468
}
],
"isCurve": true,
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 0
},
{
"id": "(users -> code)[0]",
"src": "users",
"srcArrow": "none",
"srcLabel": "",
"dst": "code",
"dstArrow": "triangle",
"dstLabel": "",
"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": [
{
2023-03-29 17:03:44 +00:00
"x": 211,
2022-12-29 02:18:28 +00:00
"y": 654
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
2022-12-29 02:18:28 +00:00
"y": 694
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
2022-12-29 02:18:28 +00:00
"y": 714
},
{
2023-03-29 17:03:44 +00:00
"x": 211,
2022-12-29 02:18:28 +00:00
"y": 754
}
],
"isCurve": true,
"animated": false,
"tooltip": "",
"icon": null,
"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
}
}