mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-21 12:35:10 +00:00
fix #1713
This commit is contained in:
parent
7755ae5be4
commit
7c9866ac69
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user