diff --git a/source/view.js b/source/view.js index 71d96fa6ef7..ec3637628fc 100644 --- a/source/view.js +++ b/source/view.js @@ -558,14 +558,14 @@ view.View = class { this._host.event('Graph', 'Render', 'Size', nodes.length); const options = {}; - options.nodesep = 15; - options.ranksep = 15; + options.nodesep = 20; + options.ranksep = 20; const rotate = graph.nodes.every((node) => node.inputs.filter((input) => input.arguments.every((argument) => !argument.initializer)).length === 0 && node.outputs.length === 0); const showHorizontal = rotate ? !this._showHorizontal : this._showHorizontal; if (showHorizontal) { options.rankdir = "LR"; } - if (nodes.length > 1500) { + if (nodes.length > 3000) { options.ranker = 'longest-path'; }