diff --git a/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg b/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg index 05eaa9547..6e4e30c89 100644 --- a/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/all_shapes/sketch.exp.svg @@ -51,7 +51,7 @@ width="1410" height="712" viewBox="-102 -102 1410 712">x

linux: because a PC is a terrible thing to waste

-
a You don't have to know how the computer works,just how to work the computer. +a You don't have to know how the computer works,just how to work the computer. x

linux: because a PC is a terrible thing to waste

-
a You don't have to know how the computer works,just how to work the computer. +a You don't have to know how the computer works,just how to work the computer. aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 +aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 diff --git a/e2etests/testdata/stable/chaos2/elk/board.exp.json b/e2etests/testdata/stable/chaos2/elk/board.exp.json index 73b4ac46a..397ce1bee 100644 --- a/e2etests/testdata/stable/chaos2/elk/board.exp.json +++ b/e2etests/testdata/stable/chaos2/elk/board.exp.json @@ -37,8 +37,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 32, - "labelHeight": 41, + "labelWidth": 27, + "labelHeight": 36, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 1 @@ -78,8 +78,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 31, - "labelHeight": 36, + "labelWidth": 26, + "labelHeight": 31, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 2 @@ -119,8 +119,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 24, - "labelHeight": 31, + "labelWidth": 19, + "labelHeight": 26, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 3 @@ -160,8 +160,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 22, - "labelHeight": 26, + "labelWidth": 17, + "labelHeight": 21, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 4 @@ -241,8 +241,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 17, - "labelHeight": 26, + "labelWidth": 12, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 5 @@ -322,8 +322,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 23, - "labelHeight": 26, + "labelWidth": 18, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 4 @@ -363,8 +363,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 14, - "labelHeight": 31, + "labelWidth": 9, + "labelHeight": 26, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 3 @@ -404,8 +404,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 15, - "labelHeight": 26, + "labelWidth": 10, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 4 @@ -445,8 +445,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 22, - "labelHeight": 26, + "labelWidth": 17, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 3 @@ -486,8 +486,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 14, - "labelHeight": 26, + "labelWidth": 9, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 2 @@ -527,8 +527,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 31, - "labelHeight": 26, + "labelWidth": 26, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 2 @@ -608,8 +608,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 23, - "labelHeight": 26, + "labelWidth": 18, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 2 diff --git a/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg b/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg index 032dcf16a..5d59df29d 100644 --- a/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/chaos2/elk/sketch.exp.svg @@ -796,7 +796,7 @@ width="1098" height="2616" viewBox="-90 -90 1098 2616">aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 +aabbllmmnnoocciikkddgghhjjeeff1122 334455667788 diff --git a/e2etests/testdata/stable/child_parent_edges/dagre/board.exp.json b/e2etests/testdata/stable/child_parent_edges/dagre/board.exp.json index 1f67893d2..04f3c5c80 100644 --- a/e2etests/testdata/stable/child_parent_edges/dagre/board.exp.json +++ b/e2etests/testdata/stable/child_parent_edges/dagre/board.exp.json @@ -37,8 +37,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 17, - "labelHeight": 41, + "labelWidth": 12, + "labelHeight": 36, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 1 @@ -78,8 +78,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 17, - "labelHeight": 36, + "labelWidth": 12, + "labelHeight": 31, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 2 @@ -119,8 +119,8 @@ "italic": false, "bold": false, "underline": false, - "labelWidth": 14, - "labelHeight": 31, + "labelWidth": 9, + "labelHeight": 26, "labelPosition": "INSIDE_TOP_CENTER", "zIndex": 0, "level": 3 @@ -160,8 +160,8 @@ "italic": false, "bold": true, "underline": false, - "labelWidth": 14, - "labelHeight": 26, + "labelWidth": 9, + "labelHeight": 21, "labelPosition": "INSIDE_MIDDLE_CENTER", "zIndex": 0, "level": 4 diff --git a/e2etests/testdata/stable/child_parent_edges/dagre/sketch.exp.svg b/e2etests/testdata/stable/child_parent_edges/dagre/sketch.exp.svg index 67aa3c6cc..52569b01a 100644 --- a/e2etests/testdata/stable/child_parent_edges/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/child_parent_edges/dagre/sketch.exp.svg @@ -39,7 +39,7 @@ width="638" height="570" viewBox="-102 -102 638 570">xyThe top of the mountain

Cats, no less liquid than their shadows, offer no angles to the wind.

+xyThe top of the mountain

Cats, no less liquid than their shadows, offer no angles to the wind.

If we can't fix it, it ain't broke.

Dieters live life in the fasting lane.

-
JoeDonaldi am top lefti am top righti am bottom lefti am bottom right +
JoeDonaldi am top lefti am top righti am bottom lefti am bottom right xyThe top of the mountain

Cats, no less liquid than their shadows, offer no angles to the wind.

+xyThe top of the mountain

Cats, no less liquid than their shadows, offer no angles to the wind.

If we can't fix it, it ain't broke.

Dieters live life in the fasting lane.

-
JoeDonaldi am top lefti am top righti am bottom lefti am bottom right +
JoeDonaldi am top lefti am top righti am bottom lefti am bottom right poll the peopleresultsunfavorablefavorablewill of the people

A winning strategy

-
+ poll the peopleresultsunfavorablefavorablewill of the people

A winning strategy

-
+ mixed togethersugarsolution we get +mixed togethersugarsolution we get mixed togethersugarsolution we get +mixed togethersugarsolution we get

Markdown: Syntax

-
ab +ab

Markdown: Syntax

-
ab +ab markdown

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+ markdown

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+ markdown

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+ markdown

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+

code

-
ab +ab

code

-
ab +ab containerscloudtall cylinderclass- +containerscloudtall cylinderclass- num int- timeout @@ -808,7 +808,7 @@ width="2482" height="2672" viewBox="-102 -102 2482 2672">containerscloudtall cylinderclass- +containerscloudtall cylinderclass- num int- timeout @@ -808,7 +808,7 @@ width="2622" height="2644" viewBox="-90 -90 2622 2644">