mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 10:20:06 +02:00
Adding the missing id prefix
This commit is contained in:
@@ -589,7 +589,10 @@ export const drawLoop = async function (elem, loopModel, labelText, conf, msg) {
|
|||||||
messageFontSize: fontSize,
|
messageFontSize: fontSize,
|
||||||
messageFontWeight: fontWeight,
|
messageFontWeight: fontWeight,
|
||||||
} = conf;
|
} = conf;
|
||||||
const g = elem.append('g').attr('data-et', 'control-structure').attr('data-id', msg.id);
|
const g = elem
|
||||||
|
.append('g')
|
||||||
|
.attr('data-et', 'control-structure')
|
||||||
|
.attr('data-id', 'i' + msg.id);
|
||||||
|
|
||||||
const drawLoopLine = function (startx, starty, stopx, stopy) {
|
const drawLoopLine = function (startx, starty, stopx, stopy) {
|
||||||
return g
|
return g
|
||||||
|
Reference in New Issue
Block a user