pom-explorer icon indicating copy to clipboard operation
pom-explorer copied to clipboard

Can't filter nodes using JavaScript

Open MatanRubin opened this issue 8 years ago • 2 comments

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;
}

MatanRubin avatar Nov 24 '16 15:11 MatanRubin

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...

ltearno avatar Dec 08 '16 13:12 ltearno

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

MatanRubin avatar Jan 10 '17 15:01 MatanRubin