-
Notifications
You must be signed in to change notification settings - Fork 45
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
Function as nodeRepulsion option #71
Comments
This is a good idea, but I would argue that it's generally more useful to set functions for the edge options, like the edge length. Anyway, all element-related options should allow functions for per-element values -- like regular COSE -- not just node charge. |
A function for node repulsion or edge length would be quite helpful for me. I tried a quick modification but it seems to be more complicated that I had thought. |
I just added a PR for edge length if you want to try it out - see #74 |
This is a duplicate of #1. |
I was wondering if I could use arbitrary function as layout option
nodeRepulsion
argument?Cose layout in the core allows that but I am getting an error if when using the same function for cose-bilkent.
Thanks,
Mikhail
The text was updated successfully, but these errors were encountered: