Skip to content

Commit

Permalink
decreased spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
nglgzz committed Jul 17, 2017
1 parent 65a0550 commit fc09c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const onTick = (conns, nodes, subnodes) => {

// Set subnodes groups color and position.
subnodes
.attr('x', node => node.x + (node.width / 2) + 30)
.attr('x', node => node.x + (node.width / 2))
.attr('y', node => node.y - (node.nodesHeight / 2));
};

Expand Down

0 comments on commit fc09c2a

Please sign in to comment.