Browse Source

- Fixed recursion error with smooth edges that are connected to non-existent nodes

v3_develop
Alex de Mulder 10 years ago
parent
commit
4b35e18c70
3 changed files with 548 additions and 539 deletions
  1. +1
    -0
      HISTORY.md
  2. +543
    -539
      dist/vis.js
  3. +4
    -0
      lib/network/Edge.js

+ 1
- 0
HISTORY.md View File

@ -34,6 +34,7 @@ http://visjs.org
- Sidestepped double touch event from hammer (ugly.. but functional) causing - Sidestepped double touch event from hammer (ugly.. but functional) causing
strange behaviour in manipulation mode strange behaviour in manipulation mode
- Better cleanup after reconnecting edges in manipulation mode - Better cleanup after reconnecting edges in manipulation mode
- Fixed recursion error with smooth edges that are connected to non-existent nodes
## 2014-11-28, version 3.7.1 ## 2014-11-28, version 3.7.1

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


+ 4
- 0
lib/network/Edge.js View File

@ -1037,6 +1037,10 @@ Edge.prototype.positionBezierNode = function() {
this.via.x = 0.5 * (this.from.x + this.to.x); this.via.x = 0.5 * (this.from.x + this.to.x);
this.via.y = 0.5 * (this.from.y + this.to.y); this.via.y = 0.5 * (this.from.y + this.to.y);
} }
else {
this.via.x = 0;
this.via.y = 0;
}
}; };
/** /**

Loading…
Cancel
Save