|
@ -945,10 +945,6 @@ Network.prototype._createKeyBinds = function() { |
|
|
this.keycharm.bind("pagedown",this._zoomOut.bind(me),"keydown"); |
|
|
this.keycharm.bind("pagedown",this._zoomOut.bind(me),"keydown"); |
|
|
this.keycharm.bind("pagedown",this._stopZoom.bind(me), "keyup"); |
|
|
this.keycharm.bind("pagedown",this._stopZoom.bind(me), "keyup"); |
|
|
} |
|
|
} |
|
|
//this.keycharm.bind("1",this.increaseClusterLevel.bind(me), "keydown");
|
|
|
|
|
|
//this.keycharm.bind("2",this.decreaseClusterLevel.bind(me), "keydown");
|
|
|
|
|
|
//this.keycharm.bind("3",this.forceAggregateHubs.bind(me,true),"keydown");
|
|
|
|
|
|
//this.keycharm.bind("4",this.normalizeClusterLevels.bind(me), "keydown");
|
|
|
|
|
|
|
|
|
|
|
|
if (this.constants.dataManipulation.enabled == true) { |
|
|
if (this.constants.dataManipulation.enabled == true) { |
|
|
this.keycharm.bind("esc",this._createManipulatorBar.bind(me)); |
|
|
this.keycharm.bind("esc",this._createManipulatorBar.bind(me)); |
|
@ -2418,6 +2414,9 @@ if (typeof window !== 'undefined') { |
|
|
* Schedule a animation step with the refreshrate interval. |
|
|
* Schedule a animation step with the refreshrate interval. |
|
|
*/ |
|
|
*/ |
|
|
Network.prototype.start = function() { |
|
|
Network.prototype.start = function() { |
|
|
|
|
|
if (this.freezeSimulationEnabled == true) { |
|
|
|
|
|
this.moving = false; |
|
|
|
|
|
} |
|
|
if (this.moving == true || this.xIncrement != 0 || this.yIncrement != 0 || this.zoomIncrement != 0 || this.animating == true) { |
|
|
if (this.moving == true || this.xIncrement != 0 || this.yIncrement != 0 || this.zoomIncrement != 0 || this.animating == true) { |
|
|
if (!this.timer) { |
|
|
if (!this.timer) { |
|
|
if (this.requiresTimeout == true) { |
|
|
if (this.requiresTimeout == true) { |
|
|