flutter_graphite icon indicating copy to clipboard operation
flutter_graphite copied to clipboard

Hover detection on the Edge?

Open jemisgoti opened this issue 6 months ago • 3 comments

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?

jemisgoti avatar Dec 27 '23 15:12 jemisgoti

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 avatar Dec 27 '23 16:12 lempiy

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

lempiy avatar Dec 27 '23 16:12 lempiy

Okay, Thanks.

jemisgoti avatar Dec 27 '23 16:12 jemisgoti