Commit 1309e34d authored by AudreyGl's avatar AudreyGl

Taille svg + position dragndrop

parent 9781f2f5
......@@ -10,8 +10,8 @@
.style('fill', function() { return color($('#type').val());})
.attr("class", "draggable")
.attr("id", "newNode")
.attr("cx", -20)
.attr("cy", -20)
.attr("cx", 700)
.attr("cy", 400)
.attr("transform", function() { return "translate(-200 -200)"; })
.call(d3.drag()
.on("start", dragstarted)
......
......@@ -51,7 +51,7 @@
</div>
<div id="affTreeMap" class="container col-md-8">
<svg width="672" height="672"></svg>
<svg width="1200" height="1000"></svg>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment