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