2022-11-27 07:51:12PM
This commit is contained in:
parent
a5029859ba
commit
5565306244
7 changed files with 80 additions and 79 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
|
@ -1,3 +1,5 @@
|
|||
d2layouts/d2dagrelayout/dagre.js linguist-vendored
|
||||
d2layouts/d2elklayout/elk.js linguist-vendored
|
||||
d2renderers/d2svg/github-markdown.css linguist-vendored
|
||||
d2renderers/d2latex/mathjax.js linguist-vendored
|
||||
d2renderers/d2latex/polyfills.js linguist-vendored
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -6,10 +6,10 @@
|
|||
"type": "text",
|
||||
"pos": {
|
||||
"x": 0,
|
||||
"y": 194
|
||||
"y": 164
|
||||
},
|
||||
"width": 154,
|
||||
"height": 41,
|
||||
"width": 382,
|
||||
"height": 101,
|
||||
"level": 1,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}",
|
||||
"label": "\\\\Huge{\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}}",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "latex",
|
||||
|
|
@ -35,14 +35,14 @@
|
|||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 154,
|
||||
"labelHeight": 41
|
||||
"labelWidth": 382,
|
||||
"labelHeight": 101
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"type": "text",
|
||||
"pos": {
|
||||
"x": 214,
|
||||
"x": 442,
|
||||
"y": 205
|
||||
},
|
||||
"width": 65,
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
"id": "z",
|
||||
"type": "text",
|
||||
"pos": {
|
||||
"x": 72,
|
||||
"x": 243,
|
||||
"y": 0
|
||||
},
|
||||
"width": 179,
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
"id": "c",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 140,
|
||||
"x": 368,
|
||||
"y": 377
|
||||
},
|
||||
"width": 214,
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
"id": "sugar",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 339,
|
||||
"x": 567,
|
||||
"y": 151
|
||||
},
|
||||
"width": 146,
|
||||
|
|
@ -192,7 +192,7 @@
|
|||
"id": "solution",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 165,
|
||||
"x": 393,
|
||||
"y": 603
|
||||
},
|
||||
"width": 164,
|
||||
|
|
@ -254,20 +254,20 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 133.12582781456953,
|
||||
"x": 284.87417218543044,
|
||||
"y": 51
|
||||
},
|
||||
{
|
||||
"x": 88.2251655629139,
|
||||
"x": 209.7748344370861,
|
||||
"y": 91
|
||||
},
|
||||
{
|
||||
"x": 77,
|
||||
"y": 119.5
|
||||
"x": 191,
|
||||
"y": 113.5
|
||||
},
|
||||
{
|
||||
"x": 77,
|
||||
"y": 193.5
|
||||
"x": 191,
|
||||
"y": 163.5
|
||||
}
|
||||
],
|
||||
"isCurve": true,
|
||||
|
|
@ -301,19 +301,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 190.37417218543047,
|
||||
"x": 380.62582781456956,
|
||||
"y": 51
|
||||
},
|
||||
{
|
||||
"x": 235.2748344370861,
|
||||
"x": 455.7251655629139,
|
||||
"y": 91
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 121.8
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 205
|
||||
}
|
||||
],
|
||||
|
|
@ -348,20 +348,20 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 77,
|
||||
"y": 235.5
|
||||
"x": 191,
|
||||
"y": 265.5
|
||||
},
|
||||
{
|
||||
"x": 77,
|
||||
"y": 308.7
|
||||
"x": 191,
|
||||
"y": 314.7
|
||||
},
|
||||
{
|
||||
"x": 92,
|
||||
"y": 337
|
||||
"x": 226.3,
|
||||
"y": 341.0701940035273
|
||||
},
|
||||
{
|
||||
"x": 152,
|
||||
"y": 377
|
||||
"x": 367.5,
|
||||
"y": 397.35097001763666
|
||||
}
|
||||
],
|
||||
"isCurve": true,
|
||||
|
|
@ -395,19 +395,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 223
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 306.2
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 337
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 377
|
||||
}
|
||||
],
|
||||
|
|
@ -442,19 +442,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 412,
|
||||
"x": 640,
|
||||
"y": 277
|
||||
},
|
||||
{
|
||||
"x": 412,
|
||||
"x": 640,
|
||||
"y": 317
|
||||
},
|
||||
{
|
||||
"x": 397.4,
|
||||
"x": 625.4,
|
||||
"y": 337
|
||||
},
|
||||
{
|
||||
"x": 339,
|
||||
"x": 567,
|
||||
"y": 377
|
||||
}
|
||||
],
|
||||
|
|
@ -489,19 +489,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 503
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 543
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 563
|
||||
},
|
||||
{
|
||||
"x": 246.5,
|
||||
"x": 474.5,
|
||||
"y": 603
|
||||
}
|
||||
],
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 508 KiB After Width: | Height: | Size: 508 KiB |
52
e2etests/testdata/todo/latex/elk/board.exp.json
vendored
52
e2etests/testdata/todo/latex/elk/board.exp.json
vendored
|
|
@ -8,8 +8,8 @@
|
|||
"x": 291,
|
||||
"y": 196
|
||||
},
|
||||
"width": 154,
|
||||
"height": 41,
|
||||
"width": 382,
|
||||
"height": 101,
|
||||
"level": 1,
|
||||
"opacity": 1,
|
||||
"strokeDash": 0,
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
"fields": null,
|
||||
"methods": null,
|
||||
"columns": null,
|
||||
"label": "\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}",
|
||||
"label": "\\\\Huge{\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}}",
|
||||
"fontSize": 16,
|
||||
"fontFamily": "DEFAULT",
|
||||
"language": "latex",
|
||||
|
|
@ -35,14 +35,14 @@
|
|||
"italic": false,
|
||||
"bold": true,
|
||||
"underline": false,
|
||||
"labelWidth": 154,
|
||||
"labelHeight": 41
|
||||
"labelWidth": 382,
|
||||
"labelHeight": 101
|
||||
},
|
||||
{
|
||||
"id": "b",
|
||||
"type": "text",
|
||||
"pos": {
|
||||
"x": 336,
|
||||
"x": 450,
|
||||
"y": 158
|
||||
},
|
||||
"width": 65,
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
"id": "c",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 545,
|
||||
"x": 773,
|
||||
"y": 104
|
||||
},
|
||||
"width": 214,
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
"id": "sugar",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 299,
|
||||
"x": 527,
|
||||
"y": 12
|
||||
},
|
||||
"width": 146,
|
||||
|
|
@ -192,7 +192,7 @@
|
|||
"id": "solution",
|
||||
"type": "",
|
||||
"pos": {
|
||||
"x": 1003,
|
||||
"x": 1231,
|
||||
"y": 104
|
||||
},
|
||||
"width": 164,
|
||||
|
|
@ -263,11 +263,11 @@
|
|||
},
|
||||
{
|
||||
"x": 241,
|
||||
"y": 216.5
|
||||
"y": 246.5
|
||||
},
|
||||
{
|
||||
"x": 291,
|
||||
"y": 216.5
|
||||
"y": 246.5
|
||||
}
|
||||
],
|
||||
"animated": false,
|
||||
|
|
@ -304,7 +304,7 @@
|
|||
"y": 167
|
||||
},
|
||||
{
|
||||
"x": 335.5,
|
||||
"x": 449.5,
|
||||
"y": 167
|
||||
}
|
||||
],
|
||||
|
|
@ -338,19 +338,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 445,
|
||||
"y": 216.5
|
||||
"x": 673,
|
||||
"y": 246.5
|
||||
},
|
||||
{
|
||||
"x": 495,
|
||||
"y": 216.5
|
||||
"x": 723,
|
||||
"y": 246.5
|
||||
},
|
||||
{
|
||||
"x": 495,
|
||||
"x": 723,
|
||||
"y": 198.5
|
||||
},
|
||||
{
|
||||
"x": 545,
|
||||
"x": 773,
|
||||
"y": 198.5
|
||||
}
|
||||
],
|
||||
|
|
@ -384,11 +384,11 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 400.5,
|
||||
"x": 514.5,
|
||||
"y": 167
|
||||
},
|
||||
{
|
||||
"x": 545,
|
||||
"x": 773,
|
||||
"y": 167
|
||||
}
|
||||
],
|
||||
|
|
@ -422,19 +422,19 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 445,
|
||||
"x": 673,
|
||||
"y": 75
|
||||
},
|
||||
{
|
||||
"x": 495,
|
||||
"x": 723,
|
||||
"y": 75
|
||||
},
|
||||
{
|
||||
"x": 495,
|
||||
"x": 723,
|
||||
"y": 135.5
|
||||
},
|
||||
{
|
||||
"x": 545,
|
||||
"x": 773,
|
||||
"y": 135.5
|
||||
}
|
||||
],
|
||||
|
|
@ -468,11 +468,11 @@
|
|||
"labelPercentage": 0,
|
||||
"route": [
|
||||
{
|
||||
"x": 759,
|
||||
"x": 987,
|
||||
"y": 167
|
||||
},
|
||||
{
|
||||
"x": 1003,
|
||||
"x": 1231,
|
||||
"y": 167
|
||||
}
|
||||
],
|
||||
|
|
|
|||
10
e2etests/testdata/todo/latex/elk/sketch.exp.svg
vendored
10
e2etests/testdata/todo/latex/elk/sketch.exp.svg
vendored
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 508 KiB After Width: | Height: | Size: 508 KiB |
|
|
@ -18,7 +18,7 @@ container -> container.second: c->2
|
|||
{
|
||||
name: "latex",
|
||||
script: `a: |latex
|
||||
\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]}
|
||||
\\Huge{\\frac{\\alpha g^2}{\\omega^5} e^{[ -0.74\\bigl\\{\\frac{\\omega U_\\omega 19.5}{g}\\bigr\\}^{\\!-4}\\,]}}
|
||||
|
|
||||
|
||||
b: |latex
|
||||
|
|
|
|||
Loading…
Reference in a new issue