From 2153abe2a2e3b4bdbba5abd8bc85efc4cf13a1c6 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 18 Nov 2014 23:37:01 +0200 Subject: add removeHighlight to avoid accumulating link highlighting --- src/rz_core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rz_core.js b/src/rz_core.js index 38f3f9a4..3f43b99d 100644 --- a/src/rz_core.js +++ b/src/rz_core.js @@ -214,6 +214,7 @@ function update(no_relayout) { view.edge_info.hide(); }); view.edge_info.show(d); + removeHighlight(); highlight(source); highlight(target); source.state = 'chosen'; -- cgit v1.3.1