Adding the missing id prefix

This commit is contained in:
Knut Sveidqvist
2024-03-18 10:40:57 +01:00
parent 0b88e0a8a9
commit 949a06b00f

View File

@@ -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