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

Fire node click/hover events when mouse is over/clicks a visible node label #87

Closed
computermacgyver opened this issue Apr 4, 2013 · 1 comment

Comments

@computermacgyver
Copy link
Contributor

If a node label is visible, it would be great to capture hovers and clicks on this label and fire these as though the node the label refers to had been hovered/clicked on itself. This is a request from users of the gephi sigma exporter (oxfordinternetinstitute/gephi-plugins#15)

@jacomyal
Copy link
Owner

Since the labels are currently drawn on a canvas, detecting labels hovering would require the labels sizes to be cached and indexed in the quadtree, which is expensive.

My best idea for this issue is, as for the edges hovering issue to wait for the SVG renderer to be implemented, or to implement a new labels renderer based on DOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants