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

Highlight nodes and its neighbors #34

Closed
soccerdroid opened this issue Jun 4, 2019 · 3 comments
Closed

Highlight nodes and its neighbors #34

soccerdroid opened this issue Jun 4, 2019 · 3 comments

Comments

@soccerdroid
Copy link

Hello! Great library with great performance. I was wondering if there is a way in which I can access to the neighbors of a node when hovering over a node. I a seeking to highlight all the neighbors and links, and achieve this effect: http://plnkr.co/edit/3fv3IR3S3Kp86rAummnz?p=preview

@vasturiano
Copy link
Owner

Hi @soccerdroid. You can simply traverse the graph structure and apply styling to neighbors on hover events. Here's an example that does something similar to that:
https://bl.ocks.org/vasturiano/321a770c3f4b041d1a4f40f1f4ecbb6c

@soccerdroid
Copy link
Author

Thank you sir! I am working with Creative Commons in visualizing their licensing content (CC-Catalog). We are using your library. I'll let you know about our final result

@soccerdroid
Copy link
Author

Closing this issue...

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