Restoring filtered out elements #3065
Unanswered
nicktahani
asked this question in
Q&A
Replies: 1 comment
-
I was able to replace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I asked this question on SO, but unfortunately wasn't able to get an answer (pasting here as well). This code is also contained inside of a slider callback function:
I'm trying to set up a date filter for the movements in my network graph. The filter includes a start and end date and currently works on one pass-through, but doesn't work when extending the range again (e.g. the previously filtered out nodes/edges don't restore once removed). I've also looked in to
remove()
andrestore()
but am unsure of how to apply them here.Additionally, I've noticed when logging the
filteredData
it returns the correct elements when expanding the range again, but actually rendering those elements viacy.json({elements: filteredData})
does not work. I would appreciate any help, thanks!Beta Was this translation helpful? Give feedback.
All reactions