Browse Source

removed _updateNodeIndexList from _setNodes. This is handled by _addNode

css_transitions
Alex de Mulder 11 years ago
parent
commit
6055e20403
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      src/graph/Graph.js
  2. +0
    -1
      vis.js

+ 0
- 1
src/graph/Graph.js View File

@ -1079,7 +1079,6 @@ Graph.prototype._setNodes = function(nodes) {
var ids = this.nodesData.getIds(); var ids = this.nodesData.getIds();
this._addNodes(ids); this._addNodes(ids);
} }
this._updateNodeIndexList("_setNodes");
this._updateSelection(); this._updateSelection();
}; };

+ 0
- 1
vis.js View File

@ -15045,7 +15045,6 @@ Graph.prototype._setNodes = function(nodes) {
var ids = this.nodesData.getIds(); var ids = this.nodesData.getIds();
this._addNodes(ids); this._addNodes(ids);
} }
this._updateNodeIndexList("_setNodes");
this._updateSelection(); this._updateSelection();
}; };

Loading…
Cancel
Save