forcegraph: always draw VPN links

This commit is contained in:
Nils Schneider 2015-04-22 23:18:10 +02:00
parent 9e51bd78fa
commit d94ba09b2c

View file

@ -242,7 +242,8 @@ define(["d3"], function (d3) {
return (d.source.x > screenRect.left && d.source.x < screenRect.right &&
d.source.y > screenRect.top && d.source.y < screenRect.bottom) ||
(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) {