This commit is contained in:
Alexander Wang 2022-12-05 19:51:16 -08:00
parent 546ea0266c
commit ecbef4d751
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
5 changed files with 187 additions and 187 deletions

View file

@ -1431,7 +1431,7 @@ c: "just an actor"
script: `How this is rendered: { script: `How this is rendered: {
shape: sequence_diagram shape: sequence_diagram
CLI; d2ast; d2compiler; d2layout; d2exporter; d2themes; d2renderer; d2dagrelayout CLI; d2ast; d2compiler; d2layout; d2exporter; d2themes; d2renderer; d2sequencelayout; d2dagrelayout
CLI -> d2ast: "'How this is rendered: {...}'" CLI -> d2ast: "'How this is rendered: {...}'"
d2ast -> CLI: tokenized AST d2ast -> CLI: tokenized AST

View file

@ -8,7 +8,7 @@
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"width": 2254, "width": 2247,
"height": 2336, "height": 2336,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -321,11 +321,51 @@
"zIndex": 0, "zIndex": 0,
"level": 2 "level": 2
}, },
{
"id": "How this is rendered.d2sequencelayout",
"type": "",
"pos": {
"x": 1740,
"y": 110
},
"width": 229,
"height": 126,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#EDF0FD",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "d2sequencelayout",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 129,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"level": 2
},
{ {
"id": "How this is rendered.d2dagrelayout", "id": "How this is rendered.d2dagrelayout",
"type": "", "type": "",
"pos": { "pos": {
"x": 1747, "x": 2019,
"y": 110 "y": 110
}, },
"width": 204, "width": 204,
@ -408,7 +448,7 @@
"x": 805, "x": 805,
"y": 1362 "y": 1362
}, },
"width": 1093, "width": 1365,
"height": 80, "height": 80,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -479,46 +519,6 @@
"zIndex": 2, "zIndex": 2,
"level": 3 "level": 3
}, },
{
"id": "How this is rendered.d2sequencelayout",
"type": "",
"pos": {
"x": 2001,
"y": 110
},
"width": 229,
"height": 126,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#EDF0FD",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "d2sequencelayout",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 129,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"level": 2
},
{ {
"id": "How this is rendered.d2exporter.export", "id": "How this is rendered.d2exporter.export",
"type": "rectangle", "type": "rectangle",
@ -785,7 +785,7 @@
"y": 1272 "y": 1272
}, },
{ {
"x": 2115.5, "x": 1854.5,
"y": 1272 "y": 1272
} }
], ],
@ -824,7 +824,7 @@
"y": 1402 "y": 1402
}, },
{ {
"x": 1849, "x": 2121,
"y": 1402 "y": 1402
} }
], ],
@ -863,7 +863,7 @@
"y": 1532 "y": 1532
}, },
{ {
"x": 2115.5, "x": 1854.5,
"y": 1532 "y": 1532
} }
], ],
@ -1340,45 +1340,6 @@
"icon": null, "icon": null,
"zIndex": 1 "zIndex": 1
}, },
{
"id": "(How this is rendered.d2dagrelayout -- )[0]",
"src": "How this is rendered.d2dagrelayout",
"srcArrow": "none",
"srcLabel": "",
"dst": "d2dagrelayout-lifeline-end-3371915605",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"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": [
{
"x": 1849,
"y": 236
},
{
"x": 1849,
"y": 2312
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
},
{ {
"id": "(How this is rendered.d2sequencelayout -- )[0]", "id": "(How this is rendered.d2sequencelayout -- )[0]",
"src": "How this is rendered.d2sequencelayout", "src": "How this is rendered.d2sequencelayout",
@ -1405,11 +1366,50 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 2115.5, "x": 1854.5,
"y": 236 "y": 236
}, },
{ {
"x": 2115.5, "x": 1854.5,
"y": 2312
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
},
{
"id": "(How this is rendered.d2dagrelayout -- )[0]",
"src": "How this is rendered.d2dagrelayout",
"srcArrow": "none",
"srcLabel": "",
"dst": "d2dagrelayout-lifeline-end-3371915605",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"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": [
{
"x": 2121,
"y": 236
},
{
"x": 2121,
"y": 2312 "y": 2312
} }
], ],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 480 KiB

After

Width:  |  Height:  |  Size: 480 KiB

View file

@ -8,7 +8,7 @@
"x": 12, "x": 12,
"y": 12 "y": 12
}, },
"width": 2254, "width": 2247,
"height": 2336, "height": 2336,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -321,11 +321,51 @@
"zIndex": 0, "zIndex": 0,
"level": 2 "level": 2
}, },
{
"id": "How this is rendered.d2sequencelayout",
"type": "",
"pos": {
"x": 1752,
"y": 122
},
"width": 229,
"height": 126,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#EDF0FD",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "d2sequencelayout",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 129,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"level": 2
},
{ {
"id": "How this is rendered.d2dagrelayout", "id": "How this is rendered.d2dagrelayout",
"type": "", "type": "",
"pos": { "pos": {
"x": 1759, "x": 2031,
"y": 122 "y": 122
}, },
"width": 204, "width": 204,
@ -408,7 +448,7 @@
"x": 817, "x": 817,
"y": 1374 "y": 1374
}, },
"width": 1093, "width": 1365,
"height": 80, "height": 80,
"opacity": 1, "opacity": 1,
"strokeDash": 0, "strokeDash": 0,
@ -479,46 +519,6 @@
"zIndex": 2, "zIndex": 2,
"level": 3 "level": 3
}, },
{
"id": "How this is rendered.d2sequencelayout",
"type": "",
"pos": {
"x": 2013,
"y": 122
},
"width": 229,
"height": 126,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
"borderRadius": 0,
"fill": "#EDF0FD",
"stroke": "#0D32B2",
"shadow": false,
"3d": false,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"blend": false,
"fields": null,
"methods": null,
"columns": null,
"label": "d2sequencelayout",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 129,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER",
"zIndex": 0,
"level": 2
},
{ {
"id": "How this is rendered.d2exporter.export", "id": "How this is rendered.d2exporter.export",
"type": "rectangle", "type": "rectangle",
@ -785,7 +785,7 @@
"y": 1284 "y": 1284
}, },
{ {
"x": 2127.5, "x": 1866.5,
"y": 1284 "y": 1284
} }
], ],
@ -824,7 +824,7 @@
"y": 1414 "y": 1414
}, },
{ {
"x": 1861, "x": 2133,
"y": 1414 "y": 1414
} }
], ],
@ -863,7 +863,7 @@
"y": 1544 "y": 1544
}, },
{ {
"x": 2127.5, "x": 1866.5,
"y": 1544 "y": 1544
} }
], ],
@ -1340,45 +1340,6 @@
"icon": null, "icon": null,
"zIndex": 1 "zIndex": 1
}, },
{
"id": "(How this is rendered.d2dagrelayout -- )[0]",
"src": "How this is rendered.d2dagrelayout",
"srcArrow": "none",
"srcLabel": "",
"dst": "d2dagrelayout-lifeline-end-3371915605",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"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": [
{
"x": 1861,
"y": 248
},
{
"x": 1861,
"y": 2324
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
},
{ {
"id": "(How this is rendered.d2sequencelayout -- )[0]", "id": "(How this is rendered.d2sequencelayout -- )[0]",
"src": "How this is rendered.d2sequencelayout", "src": "How this is rendered.d2sequencelayout",
@ -1405,11 +1366,50 @@
"labelPercentage": 0, "labelPercentage": 0,
"route": [ "route": [
{ {
"x": 2127.5, "x": 1866.5,
"y": 248 "y": 248
}, },
{ {
"x": 2127.5, "x": 1866.5,
"y": 2324
}
],
"animated": false,
"tooltip": "",
"icon": null,
"zIndex": 1
},
{
"id": "(How this is rendered.d2dagrelayout -- )[0]",
"src": "How this is rendered.d2dagrelayout",
"srcArrow": "none",
"srcLabel": "",
"dst": "d2dagrelayout-lifeline-end-3371915605",
"dstArrow": "none",
"dstLabel": "",
"opacity": 1,
"strokeDash": 6,
"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": [
{
"x": 2133,
"y": 248
},
{
"x": 2133,
"y": 2324 "y": 2324
} }
], ],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 480 KiB

After

Width:  |  Height:  |  Size: 480 KiB