Closed vincenzopalazzo closed 4 years ago
ngraph.events
implements a simple message passing mechanism. It allows clients to fire events and allows subscribers to listen to those events.
In your case it seems like you assume that someone else would trigger hover
event on a node, but I don't see it happening in your code.
Please check the readme file of the current repository to better understand the idea behind ngraph.events
Oh is how an Observer pattern Thank for your help @anvaka.
For using it with ngraph.pixi for mouse-hover on the node, I will add the event on the graphics, right?
Hi @anvaka,
I want to add the mouse hover effect on the node for have this effect
I write this code but for me not work and I don't know why.
The my class for managed event
and in my render class I have add this code
I'm using the ngraph.events wrong?