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

More informations about node mouse events #304

Closed
jdelpierre opened this issue Feb 27, 2020 · 4 comments
Closed

More informations about node mouse events #304

jdelpierre opened this issue Feb 27, 2020 · 4 comments
Labels
duplicate already reported wontfix

Comments

@jdelpierre
Copy link

Hello everybody,

I have a few comments, I'd like to know if there's anything I can do or help me do.

Is it possible to get all the information from the node during a mouse event? Because currently we only have the nodeId for example on the mouseover.
I would like to have more info to create a tooltip, and if possible, also have the x,y position as in onNodePositionChange()

Can you help me?
Thank you

@danielcaldas
Copy link
Owner

Hello @jdelpierre, the feature you are requesting it's already available in react-d3-graph version 2.3.0, please refer to the following links for more info:

Feel free to reopen the issue if you see that something is not working as it should. For now, I'm closing this.

@jdelpierre
Copy link
Author

Hum sorry @danielcaldas, I was wrong, I've seen this improvement on onNodePositionChange()

I meant this method : onMouseOverNode()*

Is it possible to do it or I didn't get a good look?

Thanks

@danielcaldas
Copy link
Owner

danielcaldas commented Mar 2, 2020

I meant this method : onMouseOverNode()*

Sure @jdelpierre, I can take care, just noticed now as well that onMouseOverNode does not pass x, y values in the callback.

Would you please open another issue? (I'll like to keep the issues like documentation, someone might look into this sometime)

@jdelpierre
Copy link
Author

Sure, I'll do it right away.
#306

Repository owner locked as off-topic and limited conversation to collaborators Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate already reported wontfix
Projects
None yet
Development

No branches or pull requests

2 participants