Browse Source

- No longer start stabilization with an empty node set.

flowchartTest
Alex de Mulder 9 years ago
parent
commit
3d09e62acd
3 changed files with 3305 additions and 3295 deletions
  1. +1
    -0
      HISTORY.md
  2. +3299
    -3295
      dist/vis.js
  3. +5
    -0
      lib/network/modules/PhysicsEngine.js

+ 1
- 0
HISTORY.md View File

@ -16,6 +16,7 @@ http://visjs.org
- Fixed accidental redrawing during stabilization.
- Fixed delete callbacks with null argument not showing toolbar afterwards.
- Added zoom events from keyboard and navigation buttons.
- No longer start stabilization with an empty node set.
## 2015-06-16, version 4.3.0

+ 3299
- 3295
dist/vis.js
File diff suppressed because it is too large
View File


+ 5
- 0
lib/network/modules/PhysicsEngine.js View File

@ -494,6 +494,11 @@ class PhysicsEngine {
iterations = this.options.stabilization.iterations;
}
if (this.physicsBody.physicsNodeIndices.length === 0) {
return;
}
// this sets the width of all nodes initially which could be required for the avoidOverlap
this.body.emitter.emit("_resizeNodes");

Loading…
Cancel
Save