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

762 lines
18 KiB
JSON
Raw Normal View History

2022-11-16 14:56:28 +00:00
{
"name": "",
2022-12-21 07:43:45 +00:00
"fontFamily": "SourceSansPro",
2022-11-16 14:56:28 +00:00
"shapes": [
{
"id": "users",
"type": "sql_table",
"pos": {
2022-12-24 21:34:23 +00:00
"x": 12,
2022-11-30 00:12:23 +00:00
"y": 12
2022-11-16 14:56:28 +00:00
},
2022-12-24 23:56:22 +00:00
"width": 268,
2022-11-16 14:56:28 +00:00
"height": 216,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2022-12-24 23:56:22 +00:00
"fill": "#0A0F25",
"stroke": "#FFFFFF",
2022-11-16 14:56:28 +00:00
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
2022-11-16 14:56:28 +00:00
"fields": null,
"methods": null,
"columns": [
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": "orders.user_id"
},
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"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
},
2022-12-24 23:56:22 +00:00
"constraint": "primary_key",
2022-11-16 14:56:28 +00:00
"reference": ""
}
],
"label": "users",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 61,
2022-11-29 22:22:23 +00:00
"labelHeight": 36,
2022-11-30 19:23:30 +00:00
"zIndex": 0,
2022-12-24 23:56:22 +00:00
"level": 1,
"primaryAccentColor": "#0D32B2",
"secondaryAccentColor": "#4A6FF3",
"neutralAccentColor": "#676C7E"
2022-11-16 14:56:28 +00:00
},
{
"id": "products",
"type": "sql_table",
"pos": {
2022-12-24 23:56:22 +00:00
"x": 300,
2022-11-30 00:12:23 +00:00
"y": 48
2022-11-16 14:56:28 +00:00
},
2022-12-20 01:46:33 +00:00
"width": 164,
2022-11-16 14:56:28 +00:00
"height": 180,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2022-12-24 23:56:22 +00:00
"fill": "#0A0F25",
"stroke": "#FFFFFF",
2022-11-16 14:56:28 +00:00
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
2022-11-16 14:56:28 +00:00
"fields": null,
"methods": null,
"columns": [
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": "orders.product_id"
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "price",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 42,
"labelHeight": 26
},
"type": {
"label": "decimal",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 67,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "sku",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 29,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
}
],
"label": "products",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 99,
2022-11-29 22:22:23 +00:00
"labelHeight": 36,
2022-11-30 19:23:30 +00:00
"zIndex": 0,
2022-12-24 23:56:22 +00:00
"level": 1,
"primaryAccentColor": "#0D32B2",
"secondaryAccentColor": "#4A6FF3",
"neutralAccentColor": "#676C7E"
2022-11-16 14:56:28 +00:00
},
{
"id": "orders",
"type": "sql_table",
"pos": {
2022-12-24 23:56:22 +00:00
"x": 300,
2022-11-30 00:12:23 +00:00
"y": 328
2022-11-16 14:56:28 +00:00
},
2022-12-20 01:46:33 +00:00
"width": 164,
2022-11-16 14:56:28 +00:00
"height": 144,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2022-12-24 23:56:22 +00:00
"fill": "#0A0F25",
"stroke": "#FFFFFF",
2022-11-16 14:56:28 +00:00
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
2022-11-16 14:56:28 +00:00
"fields": null,
"methods": null,
"columns": [
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "user_id",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 61,
"labelHeight": 26
},
"type": {
"label": "int",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 23,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "product_id",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 91,
"labelHeight": 26
},
"type": {
"label": "int",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 23,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
}
],
"label": "orders",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 74,
2022-11-29 22:22:23 +00:00
"labelHeight": 36,
2022-11-30 19:23:30 +00:00
"zIndex": 0,
2022-12-24 23:56:22 +00:00
"level": 1,
"primaryAccentColor": "#0D32B2",
"secondaryAccentColor": "#4A6FF3",
"neutralAccentColor": "#676C7E"
2022-11-16 14:56:28 +00:00
},
{
"id": "shipments",
"type": "sql_table",
"pos": {
2022-12-24 23:56:22 +00:00
"x": 484,
2022-11-30 00:12:23 +00:00
"y": 48
2022-11-16 14:56:28 +00:00
},
2022-12-20 01:46:33 +00:00
"width": 244,
2022-11-16 14:56:28 +00:00
"height": 180,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
2022-12-24 23:56:22 +00:00
"fill": "#0A0F25",
"stroke": "#FFFFFF",
2022-11-16 14:56:28 +00:00
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
2022-12-05 19:22:16 +00:00
"blend": false,
2022-11-16 14:56:28 +00:00
"fields": null,
"methods": null,
"columns": [
{
2022-12-20 01:46:33 +00:00
"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
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "order_id",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 71,
"labelHeight": 26
},
"type": {
"label": "int",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 23,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": "orders.id"
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "tracking_number",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 146,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
},
{
2022-12-20 01:46:33 +00:00
"name": {
"label": "status",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 51,
"labelHeight": 26
},
"type": {
"label": "string",
"fontSize": 0,
"fontFamily": "",
"language": "",
"color": "",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 48,
"labelHeight": 26
},
2022-11-16 14:56:28 +00:00
"constraint": "",
"reference": ""
}
],
"label": "shipments",
"fontSize": 20,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 116,
2022-11-29 22:22:23 +00:00
"labelHeight": 36,
2022-11-30 19:23:30 +00:00
"zIndex": 0,
2022-12-24 23:56:22 +00:00
"level": 1,
"primaryAccentColor": "#0D32B2",
"secondaryAccentColor": "#4A6FF3",
"neutralAccentColor": "#676C7E"
2022-11-16 14:56:28 +00:00
}
],
"connections": [
{
"id": "(users <-> orders)[0]",
"src": "users",
"srcArrow": "triangle",
"srcLabel": "",
"dst": "orders",
"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-12-24 23:56:22 +00:00
"x": 146,
2022-11-30 00:12:23 +00:00
"y": 228
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 146,
2022-11-30 00:12:23 +00:00
"y": 278
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 341,
2022-11-30 00:12:23 +00:00
"y": 278
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 341,
2022-11-30 00:12:23 +00:00
"y": 328
2022-11-16 14:56:28 +00:00
}
],
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
2022-11-16 14:56:28 +00:00
},
{
"id": "(products <-> orders)[0]",
"src": "products",
"srcArrow": "triangle",
"srcLabel": "",
"dst": "orders",
"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-12-24 23:56:22 +00:00
"x": 382,
2022-11-30 00:12:23 +00:00
"y": 228
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 382,
2022-11-30 00:12:23 +00:00
"y": 328
2022-11-16 14:56:28 +00:00
}
],
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
2022-11-16 14:56:28 +00:00
},
{
"id": "(shipments <-> orders)[0]",
"src": "shipments",
"srcArrow": "triangle",
"srcLabel": "",
"dst": "orders",
"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-12-24 23:56:22 +00:00
"x": 606,
2022-11-30 00:12:23 +00:00
"y": 228
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 606,
2022-11-30 00:12:23 +00:00
"y": 278
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 423,
2022-11-30 00:12:23 +00:00
"y": 278
2022-11-16 14:56:28 +00:00
},
{
2022-12-24 23:56:22 +00:00
"x": 423,
2022-11-30 00:12:23 +00:00
"y": 328
2022-11-16 14:56:28 +00:00
}
],
"animated": false,
"tooltip": "",
2022-11-29 22:22:23 +00:00
"icon": null,
2022-11-30 19:23:30 +00:00
"zIndex": 0
2022-11-16 14:56:28 +00:00
}
]
}