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

Hover detection on the Edge? #28

Open
jemisgoti opened this issue Dec 27, 2023 · 3 comments
Open

Hover detection on the Edge? #28

jemisgoti opened this issue Dec 27, 2023 · 3 comments

Comments

@jemisgoti
Copy link

This package is vary useful and customisable. With node builder and mouse region we can detect hover for the any node and we can show the customised node based on that. I want to change color of the edge when user hover it. It is possible with this package? If yes, Then how?

@lempiy
Copy link
Owner

lempiy commented Dec 27, 2023

Hi.
Graphite uses touchable library to track edge gestures.

Support for hover events in this lib is not delivered yet. But some PRs already exist #52.

So we're waiting for touchable to add new features.

@lempiy
Copy link
Owner

lempiy commented Dec 27, 2023

Theoretically you can detect hover by your own code using pathBuilder + hover gesture tracker inside Interactiveviewer.

@jemisgoti
Copy link
Author

Okay, Thanks.

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

No branches or pull requests

2 participants