mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-07 08:09:39 +02:00
Updated changes for 10.9.0-b.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-chart/mermaid",
|
"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.",
|
"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",
|
||||||
|
@@ -248,6 +248,8 @@ const drawNote = async function (elem: any, noteModel: NoteModel) {
|
|||||||
rect.class = 'note';
|
rect.class = 'note';
|
||||||
|
|
||||||
const g = elem.append('g');
|
const g = elem.append('g');
|
||||||
|
g.attr('data-et', 'note');
|
||||||
|
g.attr('data-id', 'i' + noteModel.id);
|
||||||
const rectElem = svgDraw.drawRect(g, rect);
|
const rectElem = svgDraw.drawRect(g, rect);
|
||||||
const textObj = svgDrawCommon.getTextObj();
|
const textObj = svgDrawCommon.getTextObj();
|
||||||
textObj.x = noteModel.startx;
|
textObj.x = noteModel.startx;
|
||||||
|
Reference in New Issue
Block a user