Browse Source

fixed cluster bug

flowchartTest
Alex de Mulder 9 years ago
parent
commit
b8502f2130
2 changed files with 517 additions and 434 deletions
  1. +515
    -434
      dist/vis.js
  2. +2
    -0
      lib/network/modules/Clustering.js

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


+ 2
- 0
lib/network/modules/Clustering.js View File

@ -9,6 +9,8 @@ class ClusterEngine {
this.options = {}; this.options = {};
this.defaultOptions = {}; this.defaultOptions = {};
util.extend(this.options, this.defaultOptions); util.extend(this.options, this.defaultOptions);
this.body.emitter.on('_resetData', () => {this.clusteredNodes = {};})
} }
setOptions(options) { setOptions(options) {

Loading…
Cancel
Save