anseki / leader-line

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

How can I change how the arc line is drawn? (mirror it) #380

Closed Marchiuzzz closed 1 year ago

Marchiuzzz commented 1 year ago

Hi, first of all - wonderful package, love the amount of customizability it has. However, I couldn't find in the documentation how to achieve what I want. Basically, I have two elements position vertically, I need an arc arrow between them, I've figured out how to draw it but now I just need to flip it on x axis, what parameters should I look into to find the answer for this?

image

Should be image

anseki commented 1 year ago

Hi @Marchiuzzz, thank you for the comment. This may help you: https://github.com/anseki/leader-line/issues/287#issuecomment-1001949850

Marchiuzzz commented 1 year ago

@anseki Thanks, I managed to solve it by switching the start and end elements and switching the plugs of endpoints so that start plug is arrow and end plug is "behind"

anseki commented 1 year ago

I'm glad if I could help you. :smile: So, could you close this issue?

Marchiuzzz commented 1 year ago

Sure, thanks again