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

Network - How can I fire an event on node/link selection #354

Open
Ema-jar opened this issue Sep 30, 2015 · 1 comment
Open

Network - How can I fire an event on node/link selection #354

Ema-jar opened this issue Sep 30, 2015 · 1 comment
Labels

Comments

@Ema-jar
Copy link

Ema-jar commented Sep 30, 2015

I need to identify each node/link with an unique id and I would like to fire an event when I click on this element. There is a way to do this? I'm currently using the code behind this example, can you give me some hint?

Thank you

@josdejong
Copy link
Contributor

There is a select event for nodes, but not for links. See docs: http://almende.github.io/chap-links-library/js/network/doc/#Events

The Network visualization of vis.js (this successor of chap-links-library) contains selection events for both nodes and links (edges).

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

No branches or pull requests

2 participants