Updated changes for b.8

This commit is contained in:
Knut Sveidqvist
2024-03-01 18:03:00 +01:00
parent f5bf2563cf
commit c2b640aa86
4 changed files with 40 additions and 9 deletions

View File

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

View File

@@ -15,6 +15,8 @@ const rect = (parent, node) => {
const shapeSvg = parent
.insert('g')
.attr('class', 'cluster' + (node.class ? ' ' + node.class : ''))
.attr('data-et', 'cluster')
.attr('data-id', node.id)
.attr('id', node.id);
// add the rect

View File

@@ -300,7 +300,7 @@ const drawActorTypeParticipant = function (elem, actor, conf, isFooter) {
.attr('data-et', 'life-line')
.attr('data-id', actor.name)
.attr('x1', center)
.attr('y1', actor.height)
.attr('y1', actor.starty || 0 + actor.height)
.attr('x2', center)
.attr('y2', 2000)
.attr('class', 'actor-line')