diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-25 14:53:44 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-25 14:54:06 +0200 |
| commit | 5aafff2aa05a3e7a1f522cb257dbcd94776612d0 (patch) | |
| tree | 174f9e7d1f8a03ae14aa485f9372d85c3d845b08 | |
| parent | f2ce89be26456be0fba9b298a19e98b83482170d (diff) | |
rz_core: fix last usage of highlight, convert to selection
| -rw-r--r-- | src/rz_core.js | 3 |
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); |
