|
@ -191,7 +191,6 @@ function Graph (container, data, options) { |
|
|
hover: false |
|
|
hover: false |
|
|
}; |
|
|
}; |
|
|
this.hoverObj = {nodes:{},edges:{}}; |
|
|
this.hoverObj = {nodes:{},edges:{}}; |
|
|
this.editMode = this.constants.dataManipulation.initiallyVisible; |
|
|
|
|
|
|
|
|
|
|
|
// Node variables
|
|
|
// Node variables
|
|
|
var graph = this; |
|
|
var graph = this; |
|
@ -643,6 +642,7 @@ Graph.prototype.setOptions = function (options) { |
|
|
this.constants.dataManipulation[prop] = options.dataManipulation[prop]; |
|
|
this.constants.dataManipulation[prop] = options.dataManipulation[prop]; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
this.editMode = this.constants.dataManipulation.initiallyVisible; |
|
|
} |
|
|
} |
|
|
else if (options.dataManipulation !== undefined) { |
|
|
else if (options.dataManipulation !== undefined) { |
|
|
this.constants.dataManipulation.enabled = false; |
|
|
this.constants.dataManipulation.enabled = false; |
|
|