When a user makes a query I've restyled grafer's layers to fade out (background) the full graph context. And when no queries are made fade in (foreground) the full graph context.
Why
To highlight what the user is currently focusing on. Either the focus is on the query layers or when no queries present, the focus is on exploring the full graph.
How
Here I edit grafer's visual layer options from the Bio view via events. The visual layer options can be changed performantly, without re-rendering the whole graph. I'm editing these layers by accessing internal layer properties. (Currently, Grafer doesn't provide an interface for changing these properties.)
Testing
Make a query in the bio view and observe how the larger graph context gets backgrounded.
Clear the query and observe how the context gets foregrounded.
Ensure that any combination of query paths sets the graph context correctly as bg/fg.
What
When a user makes a query I've restyled grafer's layers to fade out (background) the full graph context. And when no queries are made fade in (foreground) the full graph context.
Why
To highlight what the user is currently focusing on. Either the focus is on the query layers or when no queries present, the focus is on exploring the full graph.
How
Here I edit grafer's visual layer options from the Bio view via events. The visual layer options can be changed performantly, without re-rendering the whole graph. I'm editing these layers by accessing internal layer properties. (Currently, Grafer doesn't provide an interface for changing these properties.)
Testing
Screenshots
Backgrounded Context: Foregrounded Context: