diff --git a/e2etests/testdata/stable/grid_tests/dagre/board.exp.json b/e2etests/testdata/stable/grid_tests/dagre/board.exp.json
index a82de5acf..15c3df149 100644
--- a/e2etests/testdata/stable/grid_tests/dagre/board.exp.json
+++ b/e2etests/testdata/stable/grid_tests/dagre/board.exp.json
@@ -2632,10 +2632,10 @@
"type": "rectangle",
"pos": {
"x": 3548,
- "y": 159
+ "y": 212
},
- "width": 267,
- "height": 504,
+ "width": 359,
+ "height": 398,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -2673,7 +2673,7 @@
"type": "rectangle",
"pos": {
"x": 3608,
- "y": 219
+ "y": 272
},
"width": 53,
"height": 66,
@@ -2714,7 +2714,7 @@
"type": "rectangle",
"pos": {
"x": 3701,
- "y": 219
+ "y": 272
},
"width": 53,
"height": 66,
@@ -2754,8 +2754,8 @@
"id": "rows 3.c",
"type": "rectangle",
"pos": {
- "x": 3608,
- "y": 325
+ "x": 3794,
+ "y": 272
},
"width": 53,
"height": 66,
@@ -2795,10 +2795,10 @@
"id": "rows 3.d",
"type": "rectangle",
"pos": {
- "x": 3701,
- "y": 325
+ "x": 3608,
+ "y": 378
},
- "width": 54,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2836,10 +2836,10 @@
"id": "rows 3.e",
"type": "rectangle",
"pos": {
- "x": 3608,
- "y": 431
+ "x": 3747,
+ "y": 378
},
- "width": 53,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2877,10 +2877,10 @@
"id": "rows 3.f",
"type": "rectangle",
"pos": {
- "x": 3701,
- "y": 431
+ "x": 3608,
+ "y": 484
},
- "width": 53,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2918,10 +2918,10 @@
"id": "rows 3.g",
"type": "rectangle",
"pos": {
- "x": 3608,
- "y": 537
+ "x": 3747,
+ "y": 484
},
- "width": 147,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2959,11 +2959,11 @@
"id": "columns 3",
"type": "rectangle",
"pos": {
- "x": 3875,
- "y": 265
+ "x": 3967,
+ "y": 212
},
- "width": 454,
- "height": 292,
+ "width": 361,
+ "height": 398,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3000,8 +3000,8 @@
"id": "columns 3.a",
"type": "rectangle",
"pos": {
- "x": 3935,
- "y": 325
+ "x": 4027,
+ "y": 272
},
"width": 53,
"height": 66,
@@ -3041,8 +3041,8 @@
"id": "columns 3.b",
"type": "rectangle",
"pos": {
- "x": 3935,
- "y": 431
+ "x": 4027,
+ "y": 378
},
"width": 53,
"height": 66,
@@ -3082,10 +3082,10 @@
"id": "columns 3.c",
"type": "rectangle",
"pos": {
- "x": 4028,
- "y": 325
+ "x": 4027,
+ "y": 484
},
- "width": 54,
+ "width": 53,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -3123,11 +3123,11 @@
"id": "columns 3.d",
"type": "rectangle",
"pos": {
- "x": 4028,
- "y": 431
+ "x": 4120,
+ "y": 272
},
"width": 54,
- "height": 66,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3164,11 +3164,11 @@
"id": "columns 3.e",
"type": "rectangle",
"pos": {
- "x": 4122,
- "y": 325
+ "x": 4120,
+ "y": 431
},
- "width": 53,
- "height": 66,
+ "width": 54,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3205,11 +3205,11 @@
"id": "columns 3.f",
"type": "rectangle",
"pos": {
- "x": 4122,
- "y": 431
+ "x": 4214,
+ "y": 272
},
- "width": 53,
- "height": 66,
+ "width": 54,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3246,11 +3246,11 @@
"id": "columns 3.g",
"type": "rectangle",
"pos": {
- "x": 4215,
- "y": 325
+ "x": 4214,
+ "y": 431
},
"width": 54,
- "height": 172,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3287,7 +3287,7 @@
"id": "widths heights",
"type": "rectangle",
"pos": {
- "x": 4389,
+ "x": 4388,
"y": 28
},
"width": 886,
@@ -3328,7 +3328,7 @@
"id": "widths heights.a w200",
"type": "rectangle",
"pos": {
- "x": 4449,
+ "x": 4448,
"y": 88
},
"width": 200,
@@ -3369,7 +3369,7 @@
"id": "widths heights.b h300",
"type": "rectangle",
"pos": {
- "x": 4689,
+ "x": 4688,
"y": 88
},
"width": 86,
@@ -3410,7 +3410,7 @@
"id": "widths heights.c",
"type": "rectangle",
"pos": {
- "x": 4815,
+ "x": 4814,
"y": 88
},
"width": 400,
@@ -3451,7 +3451,7 @@
"id": "widths heights.d h200",
"type": "rectangle",
"pos": {
- "x": 4449,
+ "x": 4448,
"y": 428
},
"width": 200,
@@ -3492,7 +3492,7 @@
"id": "widths heights.e",
"type": "rectangle",
"pos": {
- "x": 4689,
+ "x": 4688,
"y": 428
},
"width": 86,
@@ -3533,7 +3533,7 @@
"id": "widths heights.f w400",
"type": "rectangle",
"pos": {
- "x": 4815,
+ "x": 4814,
"y": 428
},
"width": 400,
@@ -3574,7 +3574,7 @@
"id": "widths heights.g",
"type": "rectangle",
"pos": {
- "x": 4449,
+ "x": 4448,
"y": 668
},
"width": 200,
@@ -3615,7 +3615,7 @@
"id": "widths heights.h",
"type": "rectangle",
"pos": {
- "x": 4689,
+ "x": 4688,
"y": 668
},
"width": 86,
@@ -3656,7 +3656,7 @@
"id": "widths heights.i",
"type": "rectangle",
"pos": {
- "x": 4815,
+ "x": 4814,
"y": 668
},
"width": 400,
diff --git a/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg b/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg
index 43be0cd45..4f6c4484f 100644
--- a/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg
+++ b/e2etests/testdata/stable/grid_tests/dagre/sketch.exp.svg
@@ -1,16 +1,16 @@
-
\ No newline at end of file
diff --git a/e2etests/testdata/stable/grid_tests/elk/board.exp.json b/e2etests/testdata/stable/grid_tests/elk/board.exp.json
index bb7e1930e..95b4c1c12 100644
--- a/e2etests/testdata/stable/grid_tests/elk/board.exp.json
+++ b/e2etests/testdata/stable/grid_tests/elk/board.exp.json
@@ -2632,10 +2632,10 @@
"type": "rectangle",
"pos": {
"x": 3240,
- "y": 171
+ "y": 224
},
- "width": 267,
- "height": 504,
+ "width": 359,
+ "height": 398,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -2673,7 +2673,7 @@
"type": "rectangle",
"pos": {
"x": 3300,
- "y": 231
+ "y": 284
},
"width": 53,
"height": 66,
@@ -2714,7 +2714,7 @@
"type": "rectangle",
"pos": {
"x": 3393,
- "y": 231
+ "y": 284
},
"width": 53,
"height": 66,
@@ -2754,8 +2754,8 @@
"id": "rows 3.c",
"type": "rectangle",
"pos": {
- "x": 3300,
- "y": 337
+ "x": 3486,
+ "y": 284
},
"width": 53,
"height": 66,
@@ -2795,10 +2795,10 @@
"id": "rows 3.d",
"type": "rectangle",
"pos": {
- "x": 3393,
- "y": 337
+ "x": 3300,
+ "y": 390
},
- "width": 54,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2836,10 +2836,10 @@
"id": "rows 3.e",
"type": "rectangle",
"pos": {
- "x": 3300,
- "y": 443
+ "x": 3439,
+ "y": 390
},
- "width": 53,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2877,10 +2877,10 @@
"id": "rows 3.f",
"type": "rectangle",
"pos": {
- "x": 3393,
- "y": 443
+ "x": 3300,
+ "y": 496
},
- "width": 53,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2918,10 +2918,10 @@
"id": "rows 3.g",
"type": "rectangle",
"pos": {
- "x": 3300,
- "y": 549
+ "x": 3439,
+ "y": 496
},
- "width": 147,
+ "width": 99,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -2959,11 +2959,11 @@
"id": "columns 3",
"type": "rectangle",
"pos": {
- "x": 3527,
- "y": 277
+ "x": 3619,
+ "y": 224
},
- "width": 454,
- "height": 292,
+ "width": 361,
+ "height": 398,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3000,8 +3000,8 @@
"id": "columns 3.a",
"type": "rectangle",
"pos": {
- "x": 3587,
- "y": 337
+ "x": 3679,
+ "y": 284
},
"width": 53,
"height": 66,
@@ -3041,8 +3041,8 @@
"id": "columns 3.b",
"type": "rectangle",
"pos": {
- "x": 3587,
- "y": 443
+ "x": 3679,
+ "y": 390
},
"width": 53,
"height": 66,
@@ -3082,10 +3082,10 @@
"id": "columns 3.c",
"type": "rectangle",
"pos": {
- "x": 3680,
- "y": 337
+ "x": 3679,
+ "y": 496
},
- "width": 54,
+ "width": 53,
"height": 66,
"opacity": 1,
"strokeDash": 0,
@@ -3123,11 +3123,11 @@
"id": "columns 3.d",
"type": "rectangle",
"pos": {
- "x": 3680,
- "y": 443
+ "x": 3772,
+ "y": 284
},
"width": 54,
- "height": 66,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3164,11 +3164,11 @@
"id": "columns 3.e",
"type": "rectangle",
"pos": {
- "x": 3774,
- "y": 337
+ "x": 3772,
+ "y": 443
},
- "width": 53,
- "height": 66,
+ "width": 54,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3205,11 +3205,11 @@
"id": "columns 3.f",
"type": "rectangle",
"pos": {
- "x": 3774,
- "y": 443
+ "x": 3866,
+ "y": 284
},
- "width": 53,
- "height": 66,
+ "width": 54,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3246,11 +3246,11 @@
"id": "columns 3.g",
"type": "rectangle",
"pos": {
- "x": 3867,
- "y": 337
+ "x": 3866,
+ "y": 443
},
"width": 54,
- "height": 172,
+ "height": 119,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@@ -3287,7 +3287,7 @@
"id": "widths heights",
"type": "rectangle",
"pos": {
- "x": 4001,
+ "x": 4000,
"y": 40
},
"width": 886,
@@ -3328,7 +3328,7 @@
"id": "widths heights.a w200",
"type": "rectangle",
"pos": {
- "x": 4061,
+ "x": 4060,
"y": 100
},
"width": 200,
@@ -3369,7 +3369,7 @@
"id": "widths heights.b h300",
"type": "rectangle",
"pos": {
- "x": 4301,
+ "x": 4300,
"y": 100
},
"width": 86,
@@ -3410,7 +3410,7 @@
"id": "widths heights.c",
"type": "rectangle",
"pos": {
- "x": 4427,
+ "x": 4426,
"y": 100
},
"width": 400,
@@ -3451,7 +3451,7 @@
"id": "widths heights.d h200",
"type": "rectangle",
"pos": {
- "x": 4061,
+ "x": 4060,
"y": 440
},
"width": 200,
@@ -3492,7 +3492,7 @@
"id": "widths heights.e",
"type": "rectangle",
"pos": {
- "x": 4301,
+ "x": 4300,
"y": 440
},
"width": 86,
@@ -3533,7 +3533,7 @@
"id": "widths heights.f w400",
"type": "rectangle",
"pos": {
- "x": 4427,
+ "x": 4426,
"y": 440
},
"width": 400,
@@ -3574,7 +3574,7 @@
"id": "widths heights.g",
"type": "rectangle",
"pos": {
- "x": 4061,
+ "x": 4060,
"y": 680
},
"width": 200,
@@ -3615,7 +3615,7 @@
"id": "widths heights.h",
"type": "rectangle",
"pos": {
- "x": 4301,
+ "x": 4300,
"y": 680
},
"width": 86,
@@ -3656,7 +3656,7 @@
"id": "widths heights.i",
"type": "rectangle",
"pos": {
- "x": 4427,
+ "x": 4426,
"y": 680
},
"width": 400,
diff --git a/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg b/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg
index bfcf25d48..f85853334 100644
--- a/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg
+++ b/e2etests/testdata/stable/grid_tests/elk/sketch.exp.svg
@@ -1,16 +1,16 @@
-rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi
-
+ .d2-1021052366 .fill-N1{fill:#0A0F25;}
+ .d2-1021052366 .fill-N2{fill:#676C7E;}
+ .d2-1021052366 .fill-N3{fill:#9499AB;}
+ .d2-1021052366 .fill-N4{fill:#CFD2DD;}
+ .d2-1021052366 .fill-N5{fill:#DEE1EB;}
+ .d2-1021052366 .fill-N6{fill:#EEF1F8;}
+ .d2-1021052366 .fill-N7{fill:#FFFFFF;}
+ .d2-1021052366 .fill-B1{fill:#0D32B2;}
+ .d2-1021052366 .fill-B2{fill:#0D32B2;}
+ .d2-1021052366 .fill-B3{fill:#E3E9FD;}
+ .d2-1021052366 .fill-B4{fill:#E3E9FD;}
+ .d2-1021052366 .fill-B5{fill:#EDF0FD;}
+ .d2-1021052366 .fill-B6{fill:#F7F8FE;}
+ .d2-1021052366 .fill-AA2{fill:#4A6FF3;}
+ .d2-1021052366 .fill-AA4{fill:#EDF0FD;}
+ .d2-1021052366 .fill-AA5{fill:#F7F8FE;}
+ .d2-1021052366 .fill-AB4{fill:#EDF0FD;}
+ .d2-1021052366 .fill-AB5{fill:#F7F8FE;}
+ .d2-1021052366 .stroke-N1{stroke:#0A0F25;}
+ .d2-1021052366 .stroke-N2{stroke:#676C7E;}
+ .d2-1021052366 .stroke-N3{stroke:#9499AB;}
+ .d2-1021052366 .stroke-N4{stroke:#CFD2DD;}
+ .d2-1021052366 .stroke-N5{stroke:#DEE1EB;}
+ .d2-1021052366 .stroke-N6{stroke:#EEF1F8;}
+ .d2-1021052366 .stroke-N7{stroke:#FFFFFF;}
+ .d2-1021052366 .stroke-B1{stroke:#0D32B2;}
+ .d2-1021052366 .stroke-B2{stroke:#0D32B2;}
+ .d2-1021052366 .stroke-B3{stroke:#E3E9FD;}
+ .d2-1021052366 .stroke-B4{stroke:#E3E9FD;}
+ .d2-1021052366 .stroke-B5{stroke:#EDF0FD;}
+ .d2-1021052366 .stroke-B6{stroke:#F7F8FE;}
+ .d2-1021052366 .stroke-AA2{stroke:#4A6FF3;}
+ .d2-1021052366 .stroke-AA4{stroke:#EDF0FD;}
+ .d2-1021052366 .stroke-AA5{stroke:#F7F8FE;}
+ .d2-1021052366 .stroke-AB4{stroke:#EDF0FD;}
+ .d2-1021052366 .stroke-AB5{stroke:#F7F8FE;}
+ .d2-1021052366 .background-color-N1{background-color:#0A0F25;}
+ .d2-1021052366 .background-color-N2{background-color:#676C7E;}
+ .d2-1021052366 .background-color-N3{background-color:#9499AB;}
+ .d2-1021052366 .background-color-N4{background-color:#CFD2DD;}
+ .d2-1021052366 .background-color-N5{background-color:#DEE1EB;}
+ .d2-1021052366 .background-color-N6{background-color:#EEF1F8;}
+ .d2-1021052366 .background-color-N7{background-color:#FFFFFF;}
+ .d2-1021052366 .background-color-B1{background-color:#0D32B2;}
+ .d2-1021052366 .background-color-B2{background-color:#0D32B2;}
+ .d2-1021052366 .background-color-B3{background-color:#E3E9FD;}
+ .d2-1021052366 .background-color-B4{background-color:#E3E9FD;}
+ .d2-1021052366 .background-color-B5{background-color:#EDF0FD;}
+ .d2-1021052366 .background-color-B6{background-color:#F7F8FE;}
+ .d2-1021052366 .background-color-AA2{background-color:#4A6FF3;}
+ .d2-1021052366 .background-color-AA4{background-color:#EDF0FD;}
+ .d2-1021052366 .background-color-AA5{background-color:#F7F8FE;}
+ .d2-1021052366 .background-color-AB4{background-color:#EDF0FD;}
+ .d2-1021052366 .background-color-AB5{background-color:#F7F8FE;}
+ .d2-1021052366 .color-N1{color:#0A0F25;}
+ .d2-1021052366 .color-N2{color:#676C7E;}
+ .d2-1021052366 .color-N3{color:#9499AB;}
+ .d2-1021052366 .color-N4{color:#CFD2DD;}
+ .d2-1021052366 .color-N5{color:#DEE1EB;}
+ .d2-1021052366 .color-N6{color:#EEF1F8;}
+ .d2-1021052366 .color-N7{color:#FFFFFF;}
+ .d2-1021052366 .color-B1{color:#0D32B2;}
+ .d2-1021052366 .color-B2{color:#0D32B2;}
+ .d2-1021052366 .color-B3{color:#E3E9FD;}
+ .d2-1021052366 .color-B4{color:#E3E9FD;}
+ .d2-1021052366 .color-B5{color:#EDF0FD;}
+ .d2-1021052366 .color-B6{color:#F7F8FE;}
+ .d2-1021052366 .color-AA2{color:#4A6FF3;}
+ .d2-1021052366 .color-AA4{color:#EDF0FD;}
+ .d2-1021052366 .color-AA5{color:#F7F8FE;}
+ .d2-1021052366 .color-AB4{color:#EDF0FD;}
+ .d2-1021052366 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>rows 1columns 1rows 2columns 2rows 2 columns 2columns 2 rows 2rows 3 columns 3columns 3 rows 3rows 3columns 3widths heightsabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefgabcdefga w200b h300cd h200ef w400ghi
+
\ No newline at end of file