1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-21 20:45:10 +00:00
This commit is contained in:
rubikscuber 2024-04-09 14:12:21 +02:00 committed by GitHub
parent 7755ae5be4
commit 7c9866ac69
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);
} }