diff --git a/editor.js b/editor.js index a6a8a29..989a411 100644 --- a/editor.js +++ b/editor.js @@ -263,6 +263,8 @@ function defineOnClick(item, url, title) { workflow[key] = data[key]; prepareWorkflow(); updateGraph(); + wfGraph.centerAt(0, 0, 400); + wfGraph.zoom(1, 400); document.getElementById('filename').innerText = title; document.title = title + ' | Editor'; });