mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-09 22:14:10 +01:00
Updated changes for b.8
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user