Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use rectangle collision in d3-force auto layout #270

Merged
merged 3 commits into from
May 4, 2023

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented May 4, 2023

Now use rectangle collision instead of circle collision in #245

Reference: https://observablehq.com/@roblallier/rectangle-collision-force

@lihebi
Copy link
Collaborator Author

lihebi commented May 4, 2023

Now the auto-layout is pretty usable. Pods will only be pushed away when overlapped. The auto-run auto-layout setting is turned on by default.

@lihebi lihebi merged commit 9c2683d into codepod-io:main May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant