UNPKG

jointjs

Version:

JavaScript diagramming library

4 lines (2 loc) 446 B
<p>Move the subelement to the point at a given distance along the connection path but do not auto-orient it according to the path's gradient. Use a positive number to define the distance from the source of the link and a negative number from the target of the link. It is valid only within the LinkView context.</p> <pre><code>link.attr('rectSelector', { atConnectionLengthIgnoreGradient: 30, width: 10, height: 10, fill: 'red' });</code></pre>