pom-explorer
pom-explorer copied to clipboard
Can't filter nodes using JavaScript
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;
}
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...
Yes, I'm using Chrome, version 55.0.2883.87. Switched to Firefox and things seem to work well.