From b413dd5b349fd26809fe8874fe253947a40fd0f8 Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Thu, 30 Apr 2015 17:20:56 +0200 Subject: [PATCH] render issue with hierarchical layout --- dist/vis.js | 2 - examples/network/27_world_cup_network.html | 108 ++++++++++----------- lib/network/modules/LayoutEngine.js | 2 - 3 files changed, 54 insertions(+), 58 deletions(-) diff --git a/dist/vis.js b/dist/vis.js index a93f5db8..f9dd431f 100644 --- a/dist/vis.js +++ b/dist/vis.js @@ -24069,7 +24069,6 @@ return /******/ (function(modules) { // webpackBootstrap }); this.body.emitter.on('_resetHierarchicalLayout', function () { _this.setupHierarchicalLayout(); - _this.body.emitter.emit('fit', { duration: 0 }); }); } }, { @@ -24095,7 +24094,6 @@ return /******/ (function(modules) { // webpackBootstrap } } - this.body.emitter.emit('_resetHierarchicalLayout'); // because the hierarchical system needs it's own physics and smooth curve settings, we adapt the other options if needed. return this.adaptAllOptions(allOptions); } else { diff --git a/examples/network/27_world_cup_network.html b/examples/network/27_world_cup_network.html index fac2d30e..43a466ca 100644 --- a/examples/network/27_world_cup_network.html +++ b/examples/network/27_world_cup_network.html @@ -69,66 +69,66 @@ Hide nodes on drag: