diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-11 15:48:46 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-11 18:09:35 +0200 |
| commit | 72ada9fea8741c2a5eaa96bd28d70f322d6622bb (patch) | |
| tree | 3d91788eddf3c0ab18937456077921c3a3d1721f /src/client/view/selection.js | |
| parent | 4c56e301042189f5220543609130cef5c6a36bfa (diff) | |
client/graph: rewrite and rename getConnectedNodesAndLinks
It was buggy and did not deal with overlap.
Renamed to neighbourhood.
Diffstat (limited to 'src/client/view/selection.js')
| -rw-r--r-- | src/client/view/selection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/selection.js b/src/client/view/selection.js index 63074e89..7585b50f 100644 --- a/src/client/view/selection.js +++ b/src/client/view/selection.js @@ -144,7 +144,7 @@ function byVisitors(node_selector, link_selector) { } function connectedComponent(nodes) { - var connected = get_main_graph().getConnectedNodesAndLinks(nodes, 1), + var connected = get_main_graph().neighbourhood(nodes, 1), i, node, link, |
