I'm trying to drag one circle and reposition a line
<script>
var circle = new Konva.Circle({
x : xx,
y : yy,
radius : radius,
fill : "#F49342",
stroke : "#ED6347",
draggable : "true"
});
var line = new Konva.Line({
points: [23,23,35,35],
stroke: 'black',
strokeWidth: 2,
lineCap: 'round',
lineJoin: 'round'
});
</script>
How can I changle line's position by dragging circle?