                      to #{target.dia.constructor.name} is not allowed!"""
 
     @connections.push {source, target}
-    @setActiveDia target.dia
+    @highlightLines target.dia
 
   allowedToConnect:(source, target)->
     for i in [0..1]


  diaAdded:(container, diaObj)->
    diaObj.on "JointRequestsLine",   @bound "handleLineRequest"
    diaObj.on "DragInAction",        => @setActiveDia diaObj
    diaObj.on "RemoveMyConnections", => @disconnect diaObj

  addContainer:(container, pos = {})->

              joint.on 'DeleteRequested', @bound 'disconnectHelper'
              @activeJoints.push joint

  handleLineRequest:(joint)->
    @_trackJoint = joint

