Skip to content

Commit

Permalink
Merge pull request #180 from salerth/master
Browse files Browse the repository at this point in the history
Changed label ordering to show cluster labels #175
  • Loading branch information
cpettitt committed Jul 4, 2015
2 parents 0e30c12 + 0ce33ac commit b0c4b7d
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 b0c4b7d

Please sign in to comment.