From 0a0546e24193869d813ba81167bf293755429ad6 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 22 Aug 2024 15:00:53 +0530 Subject: [PATCH] chore: Fix build issue --- .cspell/code-terms.txt | 2 ++ packages/mermaid-layout-elk/src/render.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/.cspell/code-terms.txt b/.cspell/code-terms.txt index 9d2f700fcb..6d6dad045b 100644 --- a/.cspell/code-terms.txt +++ b/.cspell/code-terms.txt @@ -120,6 +120,8 @@ SUBROUTINEEND SUBROUTINESTART Subschemas substr +SVGG +SVGSVG TAGEND TAGSTART techn diff --git a/packages/mermaid-layout-elk/src/render.ts b/packages/mermaid-layout-elk/src/render.ts index e9bfe0ffad..117ca62763 100644 --- a/packages/mermaid-layout-elk/src/render.ts +++ b/packages/mermaid-layout-elk/src/render.ts @@ -376,6 +376,7 @@ export const render = async ( // calculate start and end points of the edge, note that the source and target // can be modified for shapes that have ports + // @ts-ignore TODO: fix this const { source, target, sourceId, targetId } = getEdgeStartEndPoint(edge, dir); log.debug('abc78 source and target', source, target); // Add the edge to the graph