Permalink
Browse files

nodes join on key only

  • Loading branch information...
tims committed Jan 26, 2012
1 parent 78729f6 commit 0dcb9216b5576f68ea03c079a1d401734d8e81e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 hilbert/apps/tree/static/tree.js
@@ -87,7 +87,7 @@ function drawTree(treeJsonUrl) {
var node = vis.select(".nodes").selectAll("g.node")
.data(nodes, function(d) {
- return d.key + "_" + d.colour;
+ return d.key;
});
node.enter()

0 comments on commit 0dcb921

Please sign in to comment.