sy = d.source.y + (0<dx?+1:-1)*o*Math.sin(theta) + oy,