Browse Source

- Fixed #987 proper cleaning of support nodes.

flowchartTest
Alex de Mulder 8 years ago
parent
commit
e7bfa9ccd6
5 changed files with 5514 additions and 5048 deletions
  1. +1
    -0
      HISTORY.md
  2. +4985
    -4986
      dist/vis.js
  3. +1
    -3
      lib/network/modules/EdgesHandler.js
  4. +1
    -0
      lib/network/modules/PhysicsEngine.js
  5. +526
    -59
      test/networkTest.html

+ 1
- 0
HISTORY.md View File

@ -19,6 +19,7 @@ http://visjs.org
- No longer start stabilization with an empty node set.
- Fixed #974 connecting static smooth and straight edges.
- Improved handling of empty image field.
- Fixed #987 proper cleaning of support nodes.
## 2015-06-16, version 4.3.0

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


+ 1
- 3
lib/network/modules/EdgesHandler.js View File

@ -308,9 +308,7 @@ class EdgesHandler {
var id = ids[i];
var edge = edges[id];
if (edge !== undefined) {
if (edge.via != null) {
delete this.body.supportNodes[edge.via.id];
}
edge.edgeType.cleanup();
edge.disconnect();
delete edges[id];
}

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

@ -495,6 +495,7 @@ class PhysicsEngine {
}
if (this.physicsBody.physicsNodeIndices.length === 0) {
this.ready = true;
return;
}

+ 526
- 59
test/networkTest.html
File diff suppressed because it is too large
View File


Loading…
Cancel
Save