mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
fix fixed layout
This commit is contained in:
@@ -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",
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user