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

Can't filter nodes using JavaScript #26

Open
MatanRubin opened this issue Nov 24, 2016 · 2 comments
Open

Can't filter nodes using JavaScript #26

MatanRubin opened this issue Nov 24, 2016 · 2 comments
Labels

Comments

@MatanRubin
Copy link
Contributor

Hi,
I'm trying to change the JavaScript code on the right-hand side of the graph to filter the nodes.
Problem is that even if I just return false from confirmNode and hit refresh - all nodes still exist in the graph. The only thing that changes is that I cannot see the nodes' names when hovering over a node, but the node itself is still there.

My confirmNode function is this:

confirmNode: function(gav) {
  return false;
}
@ltearno
Copy link
Owner

ltearno commented Dec 8, 2016

I just tried to reproduce your problem but can't manage to do so.

When i adjust the confirmNode function to return false, all the nodes disappear...

Are you using Chrome ? Which version ? Maybe the problem is on a specific version...

@MatanRubin
Copy link
Contributor Author

MatanRubin commented Jan 10, 2017

Yes, I'm using Chrome, version 55.0.2883.87.
Switched to Firefox and things seem to work well.

@ltearno ltearno added the bug label Jan 19, 2017
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