fix fixed layout

This commit is contained in:
Ashish Jain
2024-08-27 15:30:37 +02:00
parent 96974c9007
commit 327ea728ac
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@mermaid-chart/mermaid",
"version": "11.0.2-b.2",
"version": "11.0.2-b.3",
"description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
"type": "module",
"module": "./dist/mermaid.core.mjs",

View File

@@ -241,7 +241,8 @@ const doRender = async (_elem, data4Layout, siteConfig, positions) => {
* Render the graph
* ###############################################################
*/
export const render = async (data4Layout, svg, element, algorithm, positions) => {
export const render = async (data4Layout, svg, positions) => {
const element = svg.select('g');
// Org
insertMarkers(element, data4Layout.markers, data4Layout.type, data4Layout.diagramId);
clearNodes();