From 0297991574f8bb1bf6e2dc9ddbb31909b5fca5de Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 3 Nov 2014 16:20:26 +0200 Subject: fixes #79; note that hightlightNode sucks It should be implemented as setting a chosen state, containing id's of chosen nodes and possibly links as well (although links are defined by their source and target ids). --- scripts/rhizicore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 67d847fa..bf4dd46e 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -222,7 +222,8 @@ function update(no_relayout) { if (!d.name) { return ""; } - if (d.state === "temp" || d.state === 'chosen') { + if (d.state === "temp" || d.state === 'chosen' + || d.state === "enter" || d.state === "exit") { return d.name; } else { if (d.name.length < 28) { -- cgit v1.3.1