     @realContext.bezierCurveTo(sJoint.x + sx, sJoint.y + sy, \
                                tJoint.x + tx, tJoint.y + ty, \
                                tJoint.x, tJoint.y)
-
-    @realContext.lineWidth = @getOption 'lineWidth'
+    @realContext.lineWidth = lineWidth
+
     @realContext.stroke()
 
-  addFakeConnection:(connection)->
+  addFakeConnection: (connection) ->
+
     @drawConnectionLine connection
     @fakeConnections.push connection
 

    @realContext.strokeStyle = lineColor
    @realContext.setLineDash lineDashes  if lineDashes.length > 0

    @realContext.moveTo sJoint.x, sJoint.y

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

  updateScene: _.throttle ->

    @cleanup @realCanvas



  drawConnectionLine: ({ source, target, options = {} }) ->

    return  unless source or target

    { lineColorActive, lineDashes, transfers = []
      lineColor, lineWidth, curveDistance } = @getOptions()

    @realContext.beginPath()

