         sourceId: destroyed.sourceId
         targetId: destroyed.targetId
         segments: destroyed.segments
-        shape: destroyed.shape
-
-    toSegments: =>
-      for s in @segments
-        new paper.Segment(s.point, s.handleIn, s.handleOut)
+        shape: destroyed.shape
      
    toPath: =>
      s = LinkShape.find(@shape)
      path = s.draw(@toSegments())
      path.name = @paperId()
      path


    constructor: (attributes) ->
      super
      @k = v for k,v of attributes
  
    select: ->
      @drawing().select(@)
  
    reconnectTo: (nodeId, offset) =>
      mover = new MovesPath(@toPath(), offset)
      mover.moveStart() if nodeId is @sourceId
      mover.moveEnd() if nodeId is @targetId
      @segments = mover.finalise()
      @save()
  
    paperId: =>
