- Boards with subboards are now selfcontained folders with index.svg/png as the root board render. - Boards that are only containers of other boards are not rendered. For example a scenario with no modifications and only steps only has its steps rendered. - Boards with sibling boards of another type are rendered under a subdirectory indicating their type to separate them. For example a board with layers and scenarios has its layers rendered into subfolder layers and scenarios into subfolder scenarios. cc @berniexie see BoardContainer field on d2target.Board for the field you were looking for to skip renders for PDFs too.
426 lines
9.2 KiB
JSON
Generated
426 lines
9.2 KiB
JSON
Generated
{
|
|
"name": "",
|
|
"boardContainer": false,
|
|
"fontFamily": "SourceSansPro",
|
|
"shapes": [
|
|
{
|
|
"id": "class",
|
|
"type": "class",
|
|
"pos": {
|
|
"x": 12,
|
|
"y": 12
|
|
},
|
|
"width": 422,
|
|
"height": 368,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "N1",
|
|
"stroke": "N7",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"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": "",
|
|
"color": "N1",
|
|
"italic": false,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"zIndex": 0,
|
|
"level": 1,
|
|
"primaryAccentColor": "B2",
|
|
"secondaryAccentColor": "AA2",
|
|
"neutralAccentColor": "N2"
|
|
},
|
|
{
|
|
"id": "users",
|
|
"type": "sql_table",
|
|
"pos": {
|
|
"x": 119,
|
|
"y": 450
|
|
},
|
|
"width": 208,
|
|
"height": 186,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "N1",
|
|
"stroke": "N7",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"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": "",
|
|
"color": "N1",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 59,
|
|
"labelHeight": 31,
|
|
"zIndex": 0,
|
|
"level": 1,
|
|
"primaryAccentColor": "B2",
|
|
"secondaryAccentColor": "AA2",
|
|
"neutralAccentColor": "N2"
|
|
},
|
|
{
|
|
"id": "code",
|
|
"type": "code",
|
|
"pos": {
|
|
"x": 125,
|
|
"y": 706
|
|
},
|
|
"width": 196,
|
|
"height": 70,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "N7",
|
|
"stroke": "N1",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"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",
|
|
"color": "N1",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"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,
|
|
"stroke": "B1",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "N2",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 223,
|
|
"y": 380
|
|
},
|
|
{
|
|
"x": 223,
|
|
"y": 450
|
|
}
|
|
],
|
|
"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,
|
|
"stroke": "B1",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "N2",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 223,
|
|
"y": 636
|
|
},
|
|
{
|
|
"x": 223,
|
|
"y": 706
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
}
|