Set the 'd' attribute based on the current link connection (the result of the link`s connector). It's valid only for SVGPathElement within the LinkView context.

link.attr('pathSelector', { connection: true, stroke: 'red', fill: 'none' });