Browse Source

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

codeClimate
Alex de Mulder 9 years ago
parent
commit
18157377d3
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      HISTORY.md
  2. +1
    -0
      lib/network/Network.js

+ 4
- 0
HISTORY.md View File

@ -4,6 +4,10 @@ http://visjs.org
## not yet released, version 4.10.1-SNAPSHOT ## not yet released, version 4.10.1-SNAPSHOT
### Network
- Expose `setSelection` method. Thanks @zefrog.
### Timeline ### Timeline
- Fixed #1441: Height of subgroups not immediately updated after updating - Fixed #1441: Height of subgroups not immediately updated after updating

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

@ -466,6 +466,7 @@ Network.prototype.startSimulation = function() {return this.physics.startSim
Network.prototype.stopSimulation = function() {return this.physics.stopSimulation.apply(this.physics,arguments);}; Network.prototype.stopSimulation = function() {return this.physics.stopSimulation.apply(this.physics,arguments);};
Network.prototype.stabilize = function() {return this.physics.stabilize.apply(this.physics,arguments);}; Network.prototype.stabilize = function() {return this.physics.stabilize.apply(this.physics,arguments);};
Network.prototype.getSelection = function() {return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments);}; Network.prototype.getSelection = function() {return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments);};
Network.prototype.setSelection = function() {return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments);};
Network.prototype.getSelectedNodes = function() {return this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments);}; Network.prototype.getSelectedNodes = function() {return this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments);};
Network.prototype.getSelectedEdges = function() {return this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments);}; Network.prototype.getSelectedEdges = function() {return this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments);};
Network.prototype.getNodeAt = function() { Network.prototype.getNodeAt = function() {

Loading…
Cancel
Save