Skip to content

Commit

Permalink
Changed label ordering to show cluster labels #175
Browse files Browse the repository at this point in the history
  • Loading branch information
balneaves committed Jul 1, 2015
1 parent 0e30c12 commit 0ce33ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/create-clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ function createClusters(selection, g) {

svgClusters.each(function(v) {
var node = g.node(v),
thisGroup = d3.select(this),
labelGroup = thisGroup.append("g").attr("class", "label");
thisGroup = d3.select(this);
d3.select(this).append("rect");
var labelGroup = thisGroup.append("g").attr("class", "label");
addLabel(labelGroup, node, node.clusterLabelPos);
});

Expand Down

0 comments on commit 0ce33ac

Please sign in to comment.