A JavaScript library for connecting SVG things.
npm install svg.connectable.js

``html`
This library depends on:
- SVG.js
- svg.draggy.js
`html`
This Demo in jsfiddle: https://jsfiddle.net/u8qck0h3/
#### Params
- Object options: An object containing the following fields:container
- (SVGElement): The line elements container.markers
- (SVGElement): The marker elements container.padEllipse
- (Boolean): If true, the line coordinates will be placed with a padding.elmTarget
- SVGElement : The target SVG element.
#### Return
- Object The connectable object containing:
- source (SVGElement): The source element.target
- (SVGElement): The target element.line
- (SVGElement): The line element.marker
- (SVGElement): The marker element.computeLineCoordinates
- (Function)update
- (Function)setLineColor
- (Function)
#### Params
- Connectable con: The connectable instance.
#### Return
- Object An object containing the x1, x2, y1 and y2 coordinates.
#### Params
- String color: The new color.c`: The connectable instance.
- Connectable
[contributing]: /CONTRIBUTING.md
[docs]: /DOCUMENTATION.md