Browse Source

Updated /dist

v3_develop
jos 9 years ago
parent
commit
6ff857a06e
4 changed files with 49 additions and 24 deletions
  1. +43
    -18
      dist/vis.js
  2. +1
    -1
      dist/vis.map
  3. +1
    -1
      dist/vis.min.css
  4. +4
    -4
      dist/vis.min.js

+ 43
- 18
dist/vis.js View File

@ -16150,6 +16150,10 @@ return /******/ (function(modules) { // webpackBootstrap
if (disableStart === undefined) { if (disableStart === undefined) {
disableStart = false; disableStart = false;
} }
// unselect all to ensure no selections from old data are carried over.
this._unselectAll(true);
// we set initializing to true to ensure that the hierarchical layout is not performed until both nodes and edges are added. // we set initializing to true to ensure that the hierarchical layout is not performed until both nodes and edges are added.
this.initializing = true; this.initializing = true;
@ -17231,10 +17235,22 @@ return /******/ (function(modules) { // webpackBootstrap
*/ */
Network.prototype._removeNodes = function(ids) { Network.prototype._removeNodes = function(ids) {
var nodes = this.nodes; var nodes = this.nodes;
// remove from selection
for (var i = 0, len = ids.length; i < len; i++) {
if (this.selectionObj.nodes[ids[i]] !== undefined) {
this.nodes[ids[i]].unselect();
this._removeFromSelection(this.nodes[ids[i]]);
}
}
for (var i = 0, len = ids.length; i < len; i++) { for (var i = 0, len = ids.length; i < len; i++) {
var id = ids[i]; var id = ids[i];
delete nodes[id]; delete nodes[id];
} }
this._updateNodeIndexList(); this._updateNodeIndexList();
if (this.constants.hierarchicalLayout.enabled == true && this.initializing == false) { if (this.constants.hierarchicalLayout.enabled == true && this.initializing == false) {
this._resetLevels(); this._resetLevels();
@ -17366,6 +17382,15 @@ return /******/ (function(modules) { // webpackBootstrap
*/ */
Network.prototype._removeEdges = function (ids) { Network.prototype._removeEdges = function (ids) {
var edges = this.edges; var edges = this.edges;
// remove from selection
for (var i = 0, len = ids.length; i < len; i++) {
if (this.selectionObj.edges[ids[i]] !== undefined) {
edges[ids[i]].unselect();
this._removeFromSelection(edges[ids[i]]);
}
}
for (var i = 0, len = ids.length; i < len; i++) { for (var i = 0, len = ids.length; i < len; i++) {
var id = ids[i]; var id = ids[i];
var edge = edges[id]; var edge = edges[id];
@ -29879,9 +29904,9 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
var util = __webpack_require__(1); var util = __webpack_require__(1);
var RepulsionMixin = __webpack_require__(67);
var HierarchialRepulsionMixin = __webpack_require__(68);
var BarnesHutMixin = __webpack_require__(69);
var RepulsionMixin = __webpack_require__(68);
var HierarchialRepulsionMixin = __webpack_require__(69);
var BarnesHutMixin = __webpack_require__(70);
/** /**
* Toggling barnes Hut calculation on and off. * Toggling barnes Hut calculation on and off.
@ -34298,6 +34323,19 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }, /***/ },
/* 67 */ /* 67 */
/***/ function(module, exports, __webpack_require__) {
function webpackContext(req) {
throw new Error("Cannot find module '" + req + "'.");
}
webpackContext.keys = function() { return []; };
webpackContext.resolve = webpackContext;
module.exports = webpackContext;
webpackContext.id = 67;
/***/ },
/* 68 */
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
/** /**
@ -34367,7 +34405,7 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }, /***/ },
/* 68 */
/* 69 */
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
/** /**
@ -34526,7 +34564,7 @@ return /******/ (function(modules) { // webpackBootstrap
}; };
/***/ }, /***/ },
/* 69 */
/* 70 */
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {
/** /**
@ -34930,19 +34968,6 @@ return /******/ (function(modules) { // webpackBootstrap
}; };
/***/ },
/* 70 */
/***/ function(module, exports, __webpack_require__) {
function webpackContext(req) {
throw new Error("Cannot find module '" + req + "'.");
}
webpackContext.keys = function() { return []; };
webpackContext.resolve = webpackContext;
module.exports = webpackContext;
webpackContext.id = 70;
/***/ }, /***/ },
/* 71 */ /* 71 */
/***/ function(module, exports, __webpack_require__) { /***/ function(module, exports, __webpack_require__) {

+ 1
- 1
dist/vis.map
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


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


Loading…
Cancel
Save