Closed IgorRodchenkov closed 8 years ago
@IgorRodchenkov Highlight/Unhighlight works for me in the demo app? Maybe you were puzzled by the way it does. It basically keeps the selected node and neighbors and ghosts (grays out) the rest of the graph: SInce this was confusing, we changed this in ChiSE: We plan to transfer the changes to SBGNViz in the future.
I am not puzzled. It does not work often (in my case, using Google Chrome on Ubuntu, quite often). Have you tried to load another file or query PC2 without refreshing the page (i.e., via 'File' or 'Query' menu)? Highlighting (and many more) does not work then.
You are right, it happens if you load another model or query another model. Highlight and hide are among operations that don't work.
This is now fixed (in the related extension). You can see it in our daily build: http://www.cs.bilkent.edu.tr/~ivis/SBGNViz_daily/sample-app/.
It does not work in the demo sample-app (same issue if I use/embed sbgnviz as part of another web app) either right away or after works for the first time, or after a different file (e.g., sample) or PC query result gets loaded!