diff --git a/editor/js/graph.js b/editor/js/graph.js
index a11bdb43fbdf732cf1b161d54713cc4c6c966216..1eab6fa76ec5edb79bb82483a87c6bc2d4337e01 100644
--- a/editor/js/graph.js
+++ b/editor/js/graph.js
@@ -42,7 +42,7 @@ class Graph extends ManagedData {
     }
 
     formatData(data) {
-        return this.getCleanData(data, positions = true);
+        return this.getCleanData(data, true);
     }
 
     deleteNode(nodeId) {