summaryrefslogtreecommitdiff
path: root/src/rz_core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-25 14:53:44 +0200
committerAlon Levy <alon@pobox.com>2014-11-25 14:54:06 +0200
commit5aafff2aa05a3e7a1f522cb257dbcd94776612d0 (patch)
tree174f9e7d1f8a03ae14aa485f9372d85c3d845b08 /src/rz_core.js
parentf2ce89be26456be0fba9b298a19e98b83482170d (diff)
rz_core: fix last usage of highlight, convert to selection
Diffstat (limited to 'src/rz_core.js')
-rw-r--r--src/rz_core.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rz_core.js b/src/rz_core.js
index 83de9033..490c1a29 100644
--- a/src/rz_core.js
+++ b/src/rz_core.js
@@ -226,8 +226,7 @@ function update_view__graph(no_relayout) {
});
view.edge_info.show(d);
selection.clear();
- highlight(src);
- highlight(dst);
+ selection.connectedComponent([src, dst]);
src.state = 'chosen';
dst.state = 'chosen';
update_view__graph(true);