diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-06 16:57:51 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-06 16:57:51 +0300 |
| commit | 1f1de1f80c10fbd29078201e248101c39f0a6e77 (patch) | |
| tree | 3f0213d5a80fa85ddb809697c41635c549833fce /src/client | |
| parent | 4b56cb544a9a4fea9e2dfed5add90c5bf3e4e355 (diff) | |
client/view/graph_view: s/force__load_graph/layout__load_graph/
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/view/graph_view.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 6cebd1ee..d75e2af9 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -718,7 +718,7 @@ function GraphView(spec) { if (force_enabled) { if (!temporary) { - force__load_graph(); + layout__load_graph(); } if (relayout) { @@ -733,7 +733,7 @@ function GraphView(spec) { } } - function force__load_graph() { + function layout__load_graph() { layout .nodes(graph.nodes().filter(node__is_shown)) .links(graph.links().filter(link__is_shown)); @@ -1178,7 +1178,7 @@ function GraphView(spec) { } }); if (success > 0) { - force__load_graph(); + layout__load_graph(); } console.log('restored ' + success + ' / ' + _.keys(positions).length + ' positions to ' + nodes.length + ' nodes'); |
