mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-28 19:59:43 +02:00
Updated changes for 10.9.0-b.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mermaid-chart/mermaid",
|
||||
"version": "10.9.0-b.1",
|
||||
"version": "10.9.0-b.2",
|
||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||
"type": "module",
|
||||
"module": "./dist/mermaid.core.mjs",
|
||||
|
@@ -248,6 +248,8 @@ const drawNote = async function (elem: any, noteModel: NoteModel) {
|
||||
rect.class = 'note';
|
||||
|
||||
const g = elem.append('g');
|
||||
g.attr('data-et', 'note');
|
||||
g.attr('data-id', 'i' + noteModel.id);
|
||||
const rectElem = svgDraw.drawRect(g, rect);
|
||||
const textObj = svgDrawCommon.getTextObj();
|
||||
textObj.x = noteModel.startx;
|
||||
|
Reference in New Issue
Block a user