From af585bdcc7c068e09ec23413c8224845c400674e Mon Sep 17 00:00:00 2001 From: SpecularAura Date: Thu, 17 Jul 2025 21:09:22 +0000 Subject: [PATCH] Added a functioning visual test for per link curve styling --- .../rendering/flowchart-v2.spec.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/cypress/integration/rendering/flowchart-v2.spec.js b/cypress/integration/rendering/flowchart-v2.spec.js index 97fc1ecbd..9ad2b5604 100644 --- a/cypress/integration/rendering/flowchart-v2.spec.js +++ b/cypress/integration/rendering/flowchart-v2.spec.js @@ -1113,4 +1113,24 @@ end ); }); }); + + it('6617: Per Link Curve Styling using edge Ids', () => { + imgSnapshotTest( + `flowchart TD + A e1@-->B e5@--> E + E e7@--> D + B e3@-->D + A e2@-->C e4@-->D + C e6@--> F + F e8@--> D + e1@{ curve: natural } + e2@{ curve: stepAfter } + e3@{ curve: monotoneY } + e4@{ curve: bumpY } + e5@{ curve: linear } + e6@{ curve: catmullRom } + e7@{ curve: cardinal } + ` + ); + }); });