From b49c11eb0c7d2284470c2fdf865ee7298afe589a Mon Sep 17 00:00:00 2001 From: Josh Gruenberg Date: Fri, 6 Jun 2014 17:02:35 -0400 Subject: [PATCH] Fixing usage of dataManipulation.initiallyVisible option. --- src/graph/Graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/Graph.js b/src/graph/Graph.js index 288aac05..6ebfed15 100644 --- a/src/graph/Graph.js +++ b/src/graph/Graph.js @@ -191,7 +191,6 @@ function Graph (container, data, options) { hover: false }; this.hoverObj = {nodes:{},edges:{}}; - this.editMode = this.constants.dataManipulation.initiallyVisible; // Node variables var graph = this; @@ -643,6 +642,7 @@ Graph.prototype.setOptions = function (options) { this.constants.dataManipulation[prop] = options.dataManipulation[prop]; } } + this.editMode = this.constants.dataManipulation.initiallyVisible; } else if (options.dataManipulation !== undefined) { this.constants.dataManipulation.enabled = false;