Skip to content

Conversation

HebeHH
Copy link

@HebeHH HebeHH commented Nov 10, 2023

Currently when Network is called with neighborhood_highlight=False, select_menu=True, the user is able to highlight neighboring nodes by clicking on a node. However, they can't clear that highlight by clicking on the canvas - they need to use the Reset Selection button.

This change allows users to clear the neighborhood highlight by clicking on the canvas as well.

(I also set a global highlightActive variable, because this seems necessary and at some points in testing I got an error without it. I didn't keep good track of what was causing that and can't reproduce it cleanly, but it seemed safer to keep it.)

Fixes #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

highlightActive is not defined: Causes wierd jump of graph

1 participant