summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index cf41b386..d69c7440 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -781,10 +781,6 @@ function GraphView(spec) {
}
}
- function layout__load_graph() {
- layout.nodes_links(nodes__visible(), links__visible());
- }
-
function segment_in_segment(inner_low, inner_high, outer_low, outer_high)
{
return (inner_low >= outer_low && inner_low < outer_high &&
@@ -1210,6 +1206,10 @@ function GraphView(spec) {
.start();
}
+ function layout__load_graph() {
+ layout.nodes_links(nodes__visible(), links__visible());
+ }
+
function set_layout(new_layout) {
if (layout !== undefined) {
layout.save();