Skip to main content

DoubleLink

A double line link.

SVG selectors

Supported attrs properties:

SelectorNodeDescription
rootSVGGElementContainer of all nodes
lineSVGPathElementInner connection
outlineSVGPathElementOuter connection
const doubleLink = new shapes.standard.DoubleLink();
doubleLink.prop('source', { x: 500, y: 600 });
doubleLink.prop('target', { x: 450, y: 750 });
doubleLink.prop('vertices', [{ x: 500, y: 700 }]);
doubleLink.attr('root/title', 'shapes.standard.DoubleLink');
doubleLink.attr('line/stroke', '#30d0c6');

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub