 
   click:(e)->
     return if e.target isnt e.currentTarget
-    @setActiveDia()
+    @highlightLines()
 
   mouseMove:(e)->
     return  unless @_trackJoint

      [sx, sy, tx, ty] = [0, 0, 0, 0]
      if source.joint in ["top", "bottom"]
        sy = if source.joint is "top" then -cd else cd
      if source.joint in ["left", "right"]
        sx = if source.joint is "left" then -cd else cd
      if target.joint in ["top", "bottom"]
        ty = if target.joint is "top" then -cd else cd
      if target.joint in ["left", "right"]
        tx = if target.joint is "left" then -cd else cd

      @realContext.bezierCurveTo(sJoint.x + sx, sJoint.y + sy, \


    container.on "NewDiaObjectAdded", @bound "diaAdded"
    container.on "DragInAction",      @bound "updateScene"
    container.on "HighlightDia",      @bound "highlightLines"

    @containers.push container

