mouseEvent function returns mouseEvent object
setDraggable function in links.coffee, which sets dragging event listeners for all links.
setDraggable in link.coffee uses dx and dy in mouseEvent to calculate position of new endpoints.
mouse.coffee calculates dx dy
setDraggable on nodes and links. refresh links set to true
setDraggable function in agents.coffee and agent.coffee