anseki / leader-line

Draw a leader line in your web page.
http://anseki.github.io/leader-line/
MIT License
3.03k stars 425 forks source link

How to make several parallel connections/lines between couple of nodes #383

Closed meddany closed 1 year ago

meddany commented 1 year ago

Hi, Firstly , I want to thank your for such a greal lib. it is awesome brother .. Thanks for sharing this with world..

2ndly ,How is it possible to draw several lines between the same start and end without overlapping ?

something like below :- image

i have tried many times. but as below which highlighted with red pen, they are overlapping.

image

i am trying to achieve a thing like below ..

image

Thanks in advance.

anseki commented 1 year ago

Hi @meddany, thank you for the comment. This may help you: https://jsfiddle.net/xL1087d6/

meddany commented 1 year ago

Hi @anseki ,

Thanks for your reply,

i tried one of your solutions but shows as below :

image

image

is they anyway to adjust the line position to automatically attach to correct side ?

anseki commented 1 year ago

You seem to have mistaken the options. Those are not automatic but you can get coordinates easily.

anseki commented 1 year ago

No reply came, then this abandoned issue is closed.