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

width line startAnchor and endAnchor #361

Closed AlirezaBabaeii closed 2 years ago

AlirezaBabaeii commented 2 years ago

How to increase the width of the yellow dots?

I want something like the picture on the right (Purple color).

xarrow

anseki commented 2 years ago

Hi @AlirezaBabaeii, thank you for the comment. Sorry, what are the startAnchor and endAnchor? Also, what is the problem?

AlirezaBabaeii commented 2 years ago

Hi @AlirezaBabaeii, thank you for the comment. Sorry, what are the startAnchor and endAnchor? Also, what is the problem?

Hello you're welcome thanks for the reply My problem is exactly that I want the width of the points that I marked with green color to increase

line

anseki commented 2 years ago

Like this? https://jsfiddle.net/83mgLcs9/

anseki commented 2 years ago

You seem to have specified *SocketGravity option. Therefore the width of the points were reduced. If you don't specify those, the width of the points are kept. Or, you can also specify to make those more long. For example: https://jsfiddle.net/m4c6xs2z/

AlirezaBabaeii commented 2 years ago

You seem to have specified *SocketGravity option. Therefore the width of the points were reduced. If you don't specify those, the width of the points are kept. Or, you can also specify to make those more long. For example: https://jsfiddle.net/m4c6xs2z/

That was the problem Thanks for the help

anseki commented 2 years ago

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