jointjs
Version:
JavaScript diagramming library
6 lines (4 loc) • 299 B
HTML
<p>
Set the <code>'d'</code> attribute based on the current link connection (the result of the link`s connector). It's valid only for <code>SVGPathElement</code> within the LinkView context.
</p>
<pre><code>link.attr('pathSelector', { connection: true, stroke: 'red', fill: 'none' });</code></pre>