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

filter on hover #21

Open
trashhalo opened this issue Jul 18, 2022 · 1 comment
Open

filter on hover #21

trashhalo opened this issue Jul 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@trashhalo
Copy link
Owner

implement reducers so that only adjacent nodes are displayed on hover (or fade out the rest of the graph, or highlight edges) eg : https://githubbox.com/jacomyal/sigma.js/tree/main/examples/use-reducers , so basically an interactive filter toggle... maybe it could take the same n-hops value from the slider?

@trashhalo trashhalo added the enhancement New feature or request label Jul 18, 2022
@regexident
Copy link

regexident commented Nov 12, 2022

How about changing the event of "open a node's corresponding page" from "on click" to "on double-click".
The current behavior is imho somewhat unexpected as it effectively doesn't allow to really interact with the graph as any click exits the graph and opens the page. The "double-click to open" is also very established and thus quite intuitive.

This would free up the "on click" for selecting individual (or multiple) nodes in the graph, for which one could then adjust additional optional neighborhood filters, etc. With just "on hover" you couldn't make such adjustments as you would have to move the cursor to the options panel first, hence losing the current "node highlight".

You could even combine both: "on click" changes the selection, while "on hover" previews a different node's selection. All while still being able to change filter settings without losing the selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants