1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-23 21:37:34 +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 N2 = res[2];
if (N1==nodeName) {
const N2selector = `[id^=elem_${N2}]`;
const N2selector = `[id=elem_${N2}]`;
nodes.add(topG.findOne(N2selector));
edges.add(link);
} else if (N2==nodeName) {
const N1selector = `[id^=elem_${N1}]`;
const N1selector = `[id=elem_${N1}]`;
nodes.add(topG.findOne(N1selector));
edges.add(link);
}