mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-21 20:45:10 +00:00
commit
64f3a8fc0e
@ -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