mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-03 14:19:38 +02:00
MC-1730 Fix for data-et as cluster
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// @ts-nocheck File not ready to check types
|
||||
import { curveLinear } from 'd3';
|
||||
import ELK from 'elkjs/lib/elk.bundled.js';
|
||||
import mermaid, { type LayoutData } from 'mermaid';
|
||||
import { type LayoutData } from 'mermaid';
|
||||
import { type TreeData, findCommonAncestor } from './find-common-ancestor.js';
|
||||
|
||||
const {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mermaid-chart/mermaid",
|
||||
"version": "11.0.0-b.38",
|
||||
"version": "11.0.0-b.41",
|
||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||
"type": "module",
|
||||
"module": "./dist/mermaid.core.mjs",
|
||||
@@ -136,4 +136,4 @@
|
||||
"dist/",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -149,7 +149,7 @@ There are ten types of arrows currently supported:
|
||||
| `-->` | Dotted line without arrow |
|
||||
| `->>` | Solid line with arrowhead |
|
||||
| `-->>` | Dotted line with arrowhead |
|
||||
| `<<->>` | Solid line with bidirectional arrowheads (v<MERMAID_RELEASE_VERSION>+) |
|
||||
| `<<->>` | Solid line with bidirectional arrowheads (v11.0.0-b.41+) |
|
||||
| `<<-->>` | Dotted line with bidirectional arrowheads (v<MERMAID_RELEASE_VERSION>+) |
|
||||
| `-x` | Solid line with a cross at the end |
|
||||
| `--x` | Dotted line with a cross at the end. |
|
||||
|
@@ -179,8 +179,7 @@ const roundedWithTitle = async (parent, node) => {
|
||||
.insert('g')
|
||||
.attr('class', node.cssClasses)
|
||||
.attr('id', node.id)
|
||||
.attr('data-et', 'node')
|
||||
.attr('data-node', 'true')
|
||||
.attr('data-et', 'cluster')
|
||||
.attr('data-id', node.id)
|
||||
.attr('data-look', node.look);
|
||||
|
||||
|
Reference in New Issue
Block a user