forcegraph: always draw VPN links
This commit is contained in:
parent
9e51bd78fa
commit
d94ba09b2c
|
@ -242,7 +242,8 @@ define(["d3"], function (d3) {
|
||||||
return (d.source.x > screenRect.left && d.source.x < screenRect.right &&
|
return (d.source.x > screenRect.left && d.source.x < screenRect.right &&
|
||||||
d.source.y > screenRect.top && d.source.y < screenRect.bottom) ||
|
d.source.y > screenRect.top && d.source.y < screenRect.bottom) ||
|
||||||
(d.target.x > screenRect.left && d.target.x < screenRect.right &&
|
(d.target.x > screenRect.left && d.target.x < screenRect.right &&
|
||||||
d.target.y > screenRect.top && d.target.y < screenRect.bottom)
|
d.target.y > screenRect.top && d.target.y < screenRect.bottom) ||
|
||||||
|
d.o.vpn
|
||||||
}
|
}
|
||||||
|
|
||||||
function visibleNodes(d) {
|
function visibleNodes(d) {
|
||||||
|
|
Loading…
Reference in a new issue