summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-03 16:20:26 +0200
committerAlon Levy <alon@pobox.com>2014-11-03 16:20:28 +0200
commit0297991574f8bb1bf6e2dc9ddbb31909b5fca5de (patch)
tree4bf8afd520e1d4f17edd7c304f7257105f7ddf76 /scripts
parent43f715b6f37c7895e91dc06c6f1e774474d14cf9 (diff)
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).
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js3
1 files changed, 2 insertions, 1 deletions
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) {