diff options
Diffstat (limited to 'src/client/view')
| -rw-r--r-- | src/client/view/graph_view.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 05a16a29..c2e3c572 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -1252,7 +1252,8 @@ function GraphView(spec) { graph.nodes().forEach(function (node) { node.fixed = undefined; }); - layout = new_layout + layout = new_layout; + layout .size([w, h]) .on("tick", layout__tick__callback) .on("end", record_position_to_database) |
