Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

How to implement mind mapping with startSocketGravity #377

Closed
avrinfly opened this issue Nov 15, 2022 · 2 comments
Closed

How to implement mind mapping with startSocketGravity #377

avrinfly opened this issue Nov 15, 2022 · 2 comments

Comments

@avrinfly
Copy link

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
Copy link
Owner

anseki commented Nov 15, 2022

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
Copy link
Owner

anseki commented Nov 21, 2022

No reply came, then this abandoned issue is closed.

@anseki anseki closed this as completed Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants