I'd like to change the animation state of edges connected to a node that is selected. Would it be possible to make the let:selected boolean access be a svelte store that could be subscribed to for changes in the node selection state?
I've also tried to use the let:node object and pass that to a function to try to access the internal state, but I couldn't figure it out.
Any ideas of how to do this would be great!
If it helps, I've attached a screenshot of the animated state (forced) that would be during selection, but the edges would change depending on what node was selected.

I'd like to change the animation state of edges connected to a node that is selected. Would it be possible to make the
let:selectedboolean access be a svelte store that could be subscribed to for changes in the node selection state?I've also tried to use the
let:nodeobject and pass that to a function to try to access the internal state, but I couldn't figure it out.Any ideas of how to do this would be great!
If it helps, I've attached a screenshot of the animated state (forced) that would be during selection, but the edges would change depending on what node was selected.