netcreateorg / netcreate-2018

Please report bugs, problems, ideas in the project Issues page: https://github.com/netcreateorg/netcreate-2018/issues
Other
11 stars 2 forks source link

Remove edge physics when a node is filtered? #151

Closed benloh closed 2 years ago

benloh commented 3 years ago

Right now if you filter out a node type, it will still pull other connected nodes towards itself even if it's hidden.

Shouldn't the graph be re-rendered as if there was no node at all? Otherwise you get these phantom pulls.

jdanish commented 3 years ago

Yeah, I am not sure of the technical term off the top of my head but we will ultimately want two different kinds of "filters": 1) just hiding (or fading) certain nodes in the current graph to make it easier to see certain patterns, and 2) actually temporarily re-creating the graph by removing nodes and adjusting the physics.

Right now we have 1 (and I'm tinkering with adding the option to set the transparency level). Future grants we'd want to explore 2.

jdanish commented 3 years ago

I have added transparency which helps (default is .2 so that you still see things).

benloh commented 2 years ago

Implemented with #169