From d94ba09b2ce7368de7af567a85624b14b82bb72d Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 22 Apr 2015 23:18:10 +0200 Subject: [PATCH] forcegraph: always draw VPN links --- lib/forcegraph.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {