summaryrefslogtreecommitdiff
path: root/src/client/rz_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/rz_core.js')
-rw-r--r--src/client/rz_core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 5c83407e..3da4f8c7 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -199,8 +199,8 @@ function recenterZoom() {
vis.attr("transform", "translate(0,0)scale(1)");
}
-main_graph = new model_graph.Graph(false);
-edit_graph = new model_graph.Graph(true);
+main_graph = new model_graph.Graph({temporary: false, base: null});
+edit_graph = new model_graph.Graph({temporary: true, base: main_graph});
var initDrawingArea = function () {