mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +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,
|
||||
messageFontWeight: fontWeight,
|
||||
} = 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) {
|
||||
return g
|
||||
|
Reference in New Issue
Block a user