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

Implement Layout Algorithms targeting Very Large Graphs #1151

Open
zachcp opened this issue Apr 1, 2024 · 3 comments
Open

Implement Layout Algorithms targeting Very Large Graphs #1151

zachcp opened this issue Apr 1, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@zachcp
Copy link

zachcp commented Apr 1, 2024

What is the expected enhancement?

I've been using the Rustwork library and its fantastic. However, large spring layouts still take a lot of time. I am wondering if this is a care where adding some amount of parallelization can get a speed boost.

@IvanIsCoding IvanIsCoding changed the title Speed up the layout of very large graphs. Implement Layout Algorithms targeting Very Large Graphs Apr 16, 2024
@IvanIsCoding IvanIsCoding added the enhancement New feature or request label Apr 16, 2024
@IvanIsCoding
Copy link
Collaborator

I think the limitation here is that Spring Layout is computationally expensive which is not what you need.

I think there are other families of layout algorithms that could fit this use case. https://osf.io/ms27r is a survey that lists a few. We should narrow it down to a specific algorithm that is not too slow and that has OK aesthetics.

@jamestwebber
Copy link

I find that SFDP is fast and works well for large graphs (10k to 100k nodes, for me), which is why I opened #917 way back in the day. A re-implementation of that without the dependency on graphviz would be slick.

@IvanIsCoding
Copy link
Collaborator

I find that SFDP is fast and works well for large graphs (10k to 100k nodes, for me), which is why I opened #917 way back in the day. A re-implementation of that without the dependency on graphviz would be slick.

That is a good idea. I found https://github.com/t-mw/force-graph-rs/ and https://github.com/grantshandy/fdg to be related, maybe we can depend on another crate or fork their work to get started on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants