drag the div along with arrows

drag the div along with arrows

Hi team,

I have a divs dynamically created on my page and they are connected by the arrows, arrows can be bidirectional as well. 

I have created the arrows using the svg and now when i drag the div , arrows are not getting dragged.

for dragging the div i have used the Jquery Ui draggable

Could any one help me with any solution

Thanks & regards
Sai krishna