 
     @drawSelection()
 
-  redraw : =>
-    if not @mousedown_node
-      @svg.attr "transform", "translate(" + d3.event.translate + ")" + "scale(" + d3.event.scale + ")"
-
+  # ensures force layout knows about current data
   resetForce : =>
     @force
       .links @link_data


      @addEdge({"src":src.node_id, "dest":dest.node_id})

  _idSeq : 0

  newNode: () =>
    @addNode({node_id:"new-" + @_idSeq++})


    #enable deletion via delete/backspace key
    d3.select(window).on 'keydown', () ->
      if d3.event.keyCode in [46, 8]
        me.removeSelection()

    @restart()
    @displayData()
