From 74dbf608309a603c288272c9d53475660cdc8e39 Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Mon, 27 Feb 2023 10:31:33 -0800 Subject: [PATCH] add regression test read from file --- e2etests/e2e_test.go | 13 + e2etests/regression_test.go | 1 + e2etests/testdata/files/unconnected.d2 | 35 + .../unconnected/dagre/board.exp.json | 1192 +++++++++++++++++ .../unconnected/dagre/sketch.exp.svg | 778 +++++++++++ .../regression/unconnected/elk/board.exp.json | 1081 +++++++++++++++ .../regression/unconnected/elk/sketch.exp.svg | 778 +++++++++++ 7 files changed, 3878 insertions(+) create mode 100644 e2etests/testdata/files/unconnected.d2 create mode 100644 e2etests/testdata/regression/unconnected/dagre/board.exp.json create mode 100644 e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg create mode 100644 e2etests/testdata/regression/unconnected/elk/board.exp.json create mode 100644 e2etests/testdata/regression/unconnected/elk/sketch.exp.svg diff --git a/e2etests/e2e_test.go b/e2etests/e2e_test.go index c048db8bc..286aac11b 100644 --- a/e2etests/e2e_test.go +++ b/e2etests/e2e_test.go @@ -239,3 +239,16 @@ md: |md a -> md -> b `, md) } + +func loadFromFile(t *testing.T, name string) testCase { + fn := filepath.Join("testdata", "files", fmt.Sprintf("%s.d2", name)) + d2Text, err := ioutil.ReadFile(fn) + if err != nil { + t.Fatalf("failed to load test from file:%s. %s", name, err.Error()) + } + + return testCase{ + name: name, + script: string(d2Text), + } +} diff --git a/e2etests/regression_test.go b/e2etests/regression_test.go index 00b3c1b1b..af9855070 100644 --- a/e2etests/regression_test.go +++ b/e2etests/regression_test.go @@ -573,6 +573,7 @@ b } `, }, + loadFromFile(t, "unconnected"), } runa(t, tcs) diff --git a/e2etests/testdata/files/unconnected.d2 b/e2etests/testdata/files/unconnected.d2 new file mode 100644 index 000000000..5a0f68ec4 --- /dev/null +++ b/e2etests/testdata/files/unconnected.d2 @@ -0,0 +1,35 @@ +title: Workflow-I (Warehousing, Installation) { + near: top-center + shape: text + style: { + font-size: 40 + bold: false + underline: false + } +} +OEM Factory +OEM Factory -> OEM Warehouse +OEM Factory -> Distributor Warehouse +OEM Factory -> Gos Warehouse +direction: right +Gos Warehouse.Master -> Gos Warehouse.Regional-1 +Gos Warehouse.Master -> Gos Warehouse.Regional-2 +Gos Warehouse.Master -> Gos Warehouse.Regional-N +Gos Warehouse.Regional-1 -> Gos Warehouse.Regional-2 +Gos Warehouse.Regional-2 -> Gos Warehouse.Regional-N +Gos Warehouse.Regional-N -> Gos Warehouse.Regional-1 + +Gos Warehouse.explaination: |`md + - Asset Tagging + - Inventory + - Staging + - Dispatch to Site +`| + +OEM Warehouse -> Gos Warehouse +Distributor Warehouse -> Gos Warehouse + +Customer Site: { + Installation + Support +} diff --git a/e2etests/testdata/regression/unconnected/dagre/board.exp.json b/e2etests/testdata/regression/unconnected/dagre/board.exp.json new file mode 100644 index 000000000..ee106cbd9 --- /dev/null +++ b/e2etests/testdata/regression/unconnected/dagre/board.exp.json @@ -0,0 +1,1192 @@ +{ + "name": "", + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "OEM Factory", + "type": "rectangle", + "pos": { + "x": 50, + "y": 322 + }, + "width": 135, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "OEM Factory", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 90, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "OEM Warehouse", + "type": "rectangle", + "pos": { + "x": 358, + "y": 332 + }, + "width": 159, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "OEM Warehouse", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 114, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Distributor Warehouse", + "type": "rectangle", + "pos": { + "x": 335, + "y": 458 + }, + "width": 204, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Distributor Warehouse", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 159, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Gos Warehouse", + "type": "rectangle", + "pos": { + "x": 639, + "y": 203 + }, + "width": 872, + "height": 308, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Gos Warehouse", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 179, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Gos Warehouse.Master", + "type": "rectangle", + "pos": { + "x": 689, + "y": 316 + }, + "width": 94, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Master", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 49, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-1", + "type": "rectangle", + "pos": { + "x": 883, + "y": 389 + }, + "width": 120, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-1", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 75, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-2", + "type": "rectangle", + "pos": { + "x": 1103, + "y": 268 + }, + "width": 120, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-2", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 75, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-N", + "type": "rectangle", + "pos": { + "x": 1331, + "y": 257 + }, + "width": 122, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-N", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 77, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.explaination", + "type": "text", + "pos": { + "x": 1323, + "y": 383 + }, + "width": 138, + "height": 108, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "transparent", + "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": "- Asset Tagging\n- Inventory\n- Staging\n- Dispatch to Site", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "markdown", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 138, + "labelHeight": 108, + "zIndex": 0, + "level": 2 + }, + { + "id": "Customer Site", + "type": "rectangle", + "pos": { + "x": 0, + "y": 41 + }, + "width": 235, + "height": 231, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Customer Site", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 164, + "labelHeight": 36, + "labelPosition": "OUTSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Customer Site.Installation", + "type": "rectangle", + "pos": { + "x": 55, + "y": 60 + }, + "width": 126, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Installation", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 81, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Customer Site.Support", + "type": "rectangle", + "pos": { + "x": 66, + "y": 186 + }, + "width": 103, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Support", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 58, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "title", + "type": "text", + "pos": { + "x": 436, + "y": -71 + }, + "width": 639, + "height": 51, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "transparent", + "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": "Workflow-I (Warehousing, Installation)", + "fontSize": 40, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 639, + "labelHeight": 51, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(OEM Factory -> OEM Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "OEM Warehouse", + "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": 185, + "y": 360.74468085106383 + }, + { + "x": 225, + "y": 364.1489361702128 + }, + { + "x": 299.5, + "y": 365 + }, + { + "x": 357.5, + "y": 365 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Factory -> Distributor Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "Distributor Warehouse", + "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": 146.0110294117647, + "y": 388 + }, + { + "x": 217.20220588235293, + "y": 470.4 + }, + { + "x": 295, + "y": 491 + }, + { + "x": 335, + "y": 491 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Factory -> Gos Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 179.04761904761904, + "y": 322 + }, + { + "x": 223.8095238095238, + "y": 298 + }, + { + "x": 245, + "y": 292 + }, + { + "x": 260, + "y": 292 + }, + { + "x": 275, + "y": 292 + }, + { + "x": 315.4, + "y": 292 + }, + { + "x": 361, + "y": 292 + }, + { + "x": 406.6, + "y": 292 + }, + { + "x": 599, + "y": 300.2 + }, + { + "x": 639, + "y": 333 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-1)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-1", + "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": 780.8493150684932, + "y": 383 + }, + { + "x": 822.5698630136986, + "y": 414.2 + }, + { + "x": 843, + "y": 422 + }, + { + "x": 883, + "y": 422 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-2)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-2", + "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": 779.2567567567568, + "y": 316 + }, + { + "x": 822.2513513513513, + "y": 283.2 + }, + { + "x": 855, + "y": 275 + }, + { + "x": 888, + "y": 275 + }, + { + "x": 921, + "y": 275 + }, + { + "x": 1063, + "y": 277.4 + }, + { + "x": 1103, + "y": 287 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-N)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-N", + "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": 762.5643153526971, + "y": 316 + }, + { + "x": 818.9128630705394, + "y": 246 + }, + { + "x": 855, + "y": 228.5 + }, + { + "x": 888, + "y": 228.5 + }, + { + "x": 921, + "y": 228.5 + }, + { + "x": 965, + "y": 228.5 + }, + { + "x": 998, + "y": 228.5 + }, + { + "x": 1031, + "y": 228.5 + }, + { + "x": 1075, + "y": 228.5 + }, + { + "x": 1108, + "y": 228.5 + }, + { + "x": 1141, + "y": 228.5 + }, + { + "x": 1284.6, + "y": 234.5 + }, + { + "x": 1331, + "y": 258.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-1 -> Regional-2)[0]", + "src": "Gos Warehouse.Regional-1", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-2", + "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": 1003, + "y": 396.09090909090907 + }, + { + "x": 1043, + "y": 378.8181818181818 + }, + { + "x": 1065, + "y": 366.5 + }, + { + "x": 1113, + "y": 334.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-2 -> Regional-N)[0]", + "src": "Gos Warehouse.Regional-2", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-N", + "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": 1223, + "y": 301.5 + }, + { + "x": 1263, + "y": 301.5 + }, + { + "x": 1284.6, + "y": 300.5 + }, + { + "x": 1331, + "y": 296.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-N -> Regional-1)[0]", + "src": "Gos Warehouse.Regional-N", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-1", + "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": 1367.1455696202531, + "y": 323.5 + }, + { + "x": 1291.8291139240507, + "y": 423.5 + }, + { + "x": 1251, + "y": 448.5 + }, + { + "x": 1218, + "y": 448.5 + }, + { + "x": 1185, + "y": 448.5 + }, + { + "x": 1043, + "y": 446.1 + }, + { + "x": 1003, + "y": 436.5 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Warehouse -> Gos Warehouse)[0]", + "src": "OEM Warehouse", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 517.5, + "y": 365 + }, + { + "x": 574.7, + "y": 365 + }, + { + "x": 599, + "y": 373.2 + }, + { + "x": 639, + "y": 406 + } + ], + "isCurve": true, + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(Distributor Warehouse -> Gos Warehouse)[0]", + "src": "Distributor Warehouse", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 539, + "y": 491 + }, + { + "x": 579, + "y": 491 + }, + { + "x": 599, + "y": 499.2 + }, + { + "x": 639, + "y": 532 + } + ], + "isCurve": true, + "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 + } +} diff --git a/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg b/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg new file mode 100644 index 000000000..1b741fe5d --- /dev/null +++ b/e2etests/testdata/regression/unconnected/dagre/sketch.exp.svg @@ -0,0 +1,778 @@ +OEM FactoryOEM WarehouseDistributor WarehouseGos WarehouseCustomer SiteWorkflow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N
    +
  • Asset Tagging
  • +
  • Inventory
  • +
  • Staging
  • +
  • Dispatch to Site
  • +
+
InstallationSupport + + +
\ No newline at end of file diff --git a/e2etests/testdata/regression/unconnected/elk/board.exp.json b/e2etests/testdata/regression/unconnected/elk/board.exp.json new file mode 100644 index 000000000..b5030a2c4 --- /dev/null +++ b/e2etests/testdata/regression/unconnected/elk/board.exp.json @@ -0,0 +1,1081 @@ +{ + "name": "", + "fontFamily": "SourceSansPro", + "shapes": [ + { + "id": "OEM Factory", + "type": "rectangle", + "pos": { + "x": 103, + "y": 64 + }, + "width": 135, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "OEM Factory", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 90, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "OEM Warehouse", + "type": "rectangle", + "pos": { + "x": 390, + "y": 48 + }, + "width": 159, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "OEM Warehouse", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 114, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Distributor Warehouse", + "type": "rectangle", + "pos": { + "x": 368, + "y": 134 + }, + "width": 204, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B6", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Distributor Warehouse", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 159, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Gos Warehouse", + "type": "rectangle", + "pos": { + "x": 652, + "y": 12 + }, + "width": 890, + "height": 310, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Gos Warehouse", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 179, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Gos Warehouse.Master", + "type": "rectangle", + "pos": { + "x": 746, + "y": 78 + }, + "width": 94, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Master", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 49, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-1", + "type": "rectangle", + "pos": { + "x": 970, + "y": 62 + }, + "width": 120, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-1", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 75, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-2", + "type": "rectangle", + "pos": { + "x": 1170, + "y": 95 + }, + "width": 120, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-2", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 75, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.Regional-N", + "type": "rectangle", + "pos": { + "x": 1370, + "y": 95 + }, + "width": 122, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Regional-N", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 77, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Gos Warehouse.explaination", + "type": "text", + "pos": { + "x": 702, + "y": 164 + }, + "width": 138, + "height": 108, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "transparent", + "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": "- Asset Tagging\n- Inventory\n- Staging\n- Dispatch to Site", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "markdown", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 138, + "labelHeight": 108, + "zIndex": 0, + "level": 2 + }, + { + "id": "Customer Site", + "type": "rectangle", + "pos": { + "x": 12, + "y": 150 + }, + "width": 226, + "height": 252, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B4", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Customer Site", + "fontSize": 28, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 164, + "labelHeight": 36, + "labelPosition": "INSIDE_TOP_CENTER", + "zIndex": 0, + "level": 1 + }, + { + "id": "Customer Site.Installation", + "type": "rectangle", + "pos": { + "x": 62, + "y": 200 + }, + "width": 126, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Installation", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 81, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "Customer Site.Support", + "type": "rectangle", + "pos": { + "x": 73, + "y": 286 + }, + "width": 103, + "height": 66, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "B5", + "stroke": "B1", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": null, + "label": "Support", + "fontSize": 16, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 58, + "labelHeight": 21, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 2 + }, + { + "id": "title", + "type": "text", + "pos": { + "x": 457, + "y": -59 + }, + "width": 639, + "height": 51, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "transparent", + "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": "Workflow-I (Warehousing, Installation)", + "fontSize": 40, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 639, + "labelHeight": 51, + "labelPosition": "INSIDE_MIDDLE_CENTER", + "zIndex": 0, + "level": 1 + } + ], + "connections": [ + { + "id": "(OEM Factory -> OEM Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "OEM Warehouse", + "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": 238, + "y": 81.25 + }, + { + "x": 390.5, + "y": 81.25 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Factory -> Distributor Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "Distributor Warehouse", + "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": 238, + "y": 97.75 + }, + { + "x": 328, + "y": 97.75 + }, + { + "x": 328, + "y": 167.25 + }, + { + "x": 368, + "y": 167.25 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Factory -> Gos Warehouse)[0]", + "src": "OEM Factory", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 238, + "y": 114.25 + }, + { + "x": 278, + "y": 114.25 + }, + { + "x": 278, + "y": 210.25 + }, + { + "x": 612, + "y": 210.25 + }, + { + "x": 612, + "y": 244.875 + }, + { + "x": 652, + "y": 244.875 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-1)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-1", + "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": 840, + "y": 95 + }, + { + "x": 970, + "y": 95 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-2)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-2", + "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": 840, + "y": 111.5 + }, + { + "x": 930, + "y": 111.5 + }, + { + "x": 930, + "y": 139 + }, + { + "x": 1170, + "y": 139 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Master -> Regional-N)[0]", + "src": "Gos Warehouse.Master", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-N", + "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": 840, + "y": 128 + }, + { + "x": 880, + "y": 128 + }, + { + "x": 880, + "y": 171 + }, + { + "x": 1330, + "y": 171 + }, + { + "x": 1330, + "y": 144.5 + }, + { + "x": 1370, + "y": 144.5 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-1 -> Regional-2)[0]", + "src": "Gos Warehouse.Regional-1", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-2", + "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": 1090, + "y": 106 + }, + { + "x": 1130, + "y": 106 + }, + { + "x": 1130, + "y": 117 + }, + { + "x": 1170, + "y": 117 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-2 -> Regional-N)[0]", + "src": "Gos Warehouse.Regional-2", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-N", + "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": 1290, + "y": 128 + }, + { + "x": 1370, + "y": 128 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "Gos Warehouse.(Regional-N -> Regional-1)[0]", + "src": "Gos Warehouse.Regional-N", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse.Regional-1", + "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": 1370, + "y": 111.5 + }, + { + "x": 1330, + "y": 111.5 + }, + { + "x": 1330, + "y": 84 + }, + { + "x": 1090, + "y": 84 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(OEM Warehouse -> Gos Warehouse)[0]", + "src": "OEM Warehouse", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 549.5, + "y": 81.25 + }, + { + "x": 612, + "y": 81.25 + }, + { + "x": 612, + "y": 89.625 + }, + { + "x": 652, + "y": 89.625 + } + ], + "animated": false, + "tooltip": "", + "icon": null, + "zIndex": 0 + }, + { + "id": "(Distributor Warehouse -> Gos Warehouse)[0]", + "src": "Distributor Warehouse", + "srcArrow": "none", + "srcLabel": "", + "dst": "Gos Warehouse", + "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": 572, + "y": 167.25 + }, + { + "x": 652, + "y": 167.25 + } + ], + "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 + } +} diff --git a/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg b/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg new file mode 100644 index 000000000..09ec949f6 --- /dev/null +++ b/e2etests/testdata/regression/unconnected/elk/sketch.exp.svg @@ -0,0 +1,778 @@ +OEM FactoryOEM WarehouseDistributor WarehouseGos WarehouseCustomer SiteWorkflow-I (Warehousing, Installation)MasterRegional-1Regional-2Regional-N
    +
  • Asset Tagging
  • +
  • Inventory
  • +
  • Staging
  • +
  • Dispatch to Site
  • +
+
InstallationSupport + + +
\ No newline at end of file