From 1a7b8d38970f367e273b61599e6c4f75a8635158 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Wed, 1 Mar 2023 09:29:59 +0100 Subject: [PATCH] Updated import of cytoscape for consistent behavior --- packages/mermaid/src/diagrams/mindmap/mindmapRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.js b/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.js index e822391238..c5b5fede1f 100644 --- a/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.js +++ b/packages/mermaid/src/diagrams/mindmap/mindmapRenderer.js @@ -4,7 +4,7 @@ import { log } from '../../logger'; import { getConfig } from '../../config'; import { setupGraphViewbox } from '../../setupGraphViewbox'; import svgDraw from './svgDraw'; -import cytoscape from 'cytoscape/dist/cytoscape.esm.js'; +import cytoscape from 'cytoscape/dist/cytoscape.umd.js'; import coseBilkent from 'cytoscape-cose-bilkent'; import * as db from './mindmapDb';