mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 11:44:07 +01:00
MC-1730 Fix flowchart subgraph id isue
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-chart/mermaid",
|
"name": "@mermaid-chart/mermaid",
|
||||||
"version": "11.0.0-b.44",
|
"version": "11.0.0-b.45",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ const rect = async (parent, node) => {
|
|||||||
.insert('g')
|
.insert('g')
|
||||||
.attr('class', 'cluster ' + node.cssClasses)
|
.attr('class', 'cluster ' + node.cssClasses)
|
||||||
.attr('id', node.id)
|
.attr('id', node.id)
|
||||||
|
.attr('data-id', node.id)
|
||||||
.attr('data-et', 'cluster')
|
.attr('data-et', 'cluster')
|
||||||
.attr('data-look', node.look);
|
.attr('data-look', node.look);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user