diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 76e8164..b108a80 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -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) {