Browse Source

Merge remote-tracking branch 'origin/develop' into develop

Conflicts:
	dist/vis.js
v3_develop
jos 9 years ago
parent
commit
37a496e015
4 changed files with 26970 additions and 27280 deletions
  1. +26967
    -27277
      dist/vis.js
  2. +1
    -1
      dist/vis.min.css
  3. +1
    -1
      lib/network/Edge.js
  4. +1
    -1
      lib/network/Network.js

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


+ 1
- 1
dist/vis.min.css
File diff suppressed because it is too large
View File


+ 1
- 1
lib/network/Edge.js View File

@ -1164,7 +1164,7 @@ 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 {
else if (this.via !== null) {
this.via.x = 0; this.via.x = 0;
this.via.y = 0; this.via.y = 0;
} }

+ 1
- 1
lib/network/Network.js View File

@ -45,7 +45,7 @@ function Network (container, data, options) {
this.renderRefreshRate = 60; // hz (fps) this.renderRefreshRate = 60; // hz (fps)
this.renderTimestep = 1000 / this.renderRefreshRate; // ms -- saves calculation later on this.renderTimestep = 1000 / this.renderRefreshRate; // ms -- saves calculation later on
this.renderTime = 0; // measured time it takes to render a frame this.renderTime = 0; // measured time it takes to render a frame
this.physicsTime = 0; // measured time it takes to render a frame
this.physicsTime = 0; // measured time it takes to render a frame
this.runDoubleSpeed = false; this.runDoubleSpeed = false;
this.physicsDiscreteStepsize = 0.50; // discrete stepsize of the simulation this.physicsDiscreteStepsize = 0.50; // discrete stepsize of the simulation

Loading…
Cancel
Save