Skip to content

Commit

Permalink
Use <g>
Browse files Browse the repository at this point in the history
  • Loading branch information
Madison Scott-Clary committed Sep 13, 2018
1 parent 79ab42b commit 2bced0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/polycule.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var svg = d3.select('#panel')
.attr('oncontextmenu', 'return false;')
.attr('width', width)
.attr('height', height)
.append('g')
.attr('transform', 'scale(' + scale + ')');

window.graph.links.forEach(function(link) {
Expand Down

0 comments on commit 2bced0f

Please sign in to comment.