-
Notifications
You must be signed in to change notification settings - Fork 263
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
Painting Over Links #40
Comments
For instance, it would be nice to have a weighted graph where the weights in-between are always floating and visible, not simply when it's hovered over. If there was a paint function for the links this could be possible. |
@GeoffGodwin I think that would be a good feature addition. It's slightly more complicated because the method would have to read the |
Yeah I may have to give that a try. I figure getting the midpoint between source and destination is easy enough for straight links. Slightly more work to calculate the curved links but not terrible in terms of the price of the calculations. If I get a chance I'll open a PR with whatever I come up with. Thanks! |
@GeoffGodwin Have you got the chance to try it out? I currently have a use case where I would like to paint the links of the selected node. |
@GeoffGodwin @qasimalbaqali this is now already supported, using |
nodeCanvasObject is excellent for allowing custom painting code over nodes on the graph. Is it possible to also expose a similar method to draw over links?
The text was updated successfully, but these errors were encountered: