1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-21 20:45:10 +00:00
fix #1713
This commit is contained in:
PlantUML 2024-04-09 16:51:07 +02:00 committed by GitHub
commit 64f3a8fc0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,11 +16,11 @@
const N1 = res[1]; const N1 = res[1];
const N2 = res[2]; const N2 = res[2];
if (N1==nodeName) { if (N1==nodeName) {
const N2selector = `[id^=elem_${N2}]`; const N2selector = `[id=elem_${N2}]`;
nodes.add(topG.findOne(N2selector)); nodes.add(topG.findOne(N2selector));
edges.add(link); edges.add(link);
} else if (N2==nodeName) { } else if (N2==nodeName) {
const N1selector = `[id^=elem_${N1}]`; const N1selector = `[id=elem_${N1}]`;
nodes.add(topG.findOne(N1selector)); nodes.add(topG.findOne(N1selector));
edges.add(link); edges.add(link);
} }