graphstream/gs-core

Hiding graph nodes not sufficient to prevent clicking on them

Closed this issue · 0 comments

Using 2.0-alpha (the one released via github releases last year)

If I hide nodes, they will still get found when I call view.findGraphicElementAt(...) in the MouseManager, which leads to odd behaviors. Is this the expected behavior?

For now I have filtered it out in my mouse manager, but I am worried about the potential with large graphs and semi-occluded nodes (where a hidden node overlaps a non hidden node) where a user will not be able to select since I cannot tell it to select the top visible node in the z depth (at least that I'm aware of)

I do not believe 1.3 had this issue, but I had to make quite a lot of changes to update to 2.0 alpha...so I'm not looking forward to downgrading just to test if this can be confirmed easily.

Thanks,
-Dave