forcegraph: only draw clients when zoomed in
This commit is contained in:
parent
ccc5f0f526
commit
1a6a4329b5
|
@ -380,6 +380,7 @@ define(["d3"], function (d3) {
|
|||
// -- draw clients --
|
||||
ctx.save()
|
||||
ctx.beginPath()
|
||||
if (scale > 0.9)
|
||||
nodes.filter(visibleNodes).forEach(function (d) {
|
||||
var clients = d.o.node.statistics.clients
|
||||
if (clients === 0)
|
||||
|
|
Loading…
Reference in a new issue