From 640c502346c5c7322f11edd3db44f549521fdee9 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Fri, 2 Aug 2024 17:16:40 +0200 Subject: [PATCH] MC-1730 Fix for flowchart arrows without arrowheads --- packages/mermaid/src/diagrams/flowchart/flowDb.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mermaid/src/diagrams/flowchart/flowDb.ts b/packages/mermaid/src/diagrams/flowchart/flowDb.ts index 488ecc83d..c8728423a 100644 --- a/packages/mermaid/src/diagrams/flowchart/flowDb.ts +++ b/packages/mermaid/src/diagrams/flowchart/flowDb.ts @@ -777,6 +777,7 @@ const destructEdgeType = (type: string | undefined) => { let arrowTypeStart = 'none'; let arrowTypeEnd = 'arrow_point'; switch (type) { + case 'arrow_open': case 'arrow_point': case 'arrow_circle': case 'arrow_cross':