anseki / leader-line

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

How to implement mind mapping with startSocketGravity #377

Closed avrinfly closed 2 years ago

avrinfly commented 2 years ago

hello anseki, I want to implement the function of mind-mapping with leaderline, But in fact, the effect is the following case: image The effect that I want to achieve is the following: image I found the property startSocketGravity in the documentation but don t know how to use it. I hope you can help me answer this question 🙏

anseki commented 2 years ago

Hi @avrinfly, thank you for the comment. The startSocketGravity and endSocketGravity options accept number, Array or string as force of gravity at a socket. Or, you maybe want to use fluid for path option, not arc.

anseki commented 2 years ago

No reply came, then this abandoned issue is closed.