Hi @sshen1, Thanks so much for this question, and thanks to @Humas1985 for the great answer here!
I just wanted to add one thing that might help depending on what type of diagram you're working with — if this is (or could be) an org chart, Lucidchart actually has a built-in org chart filter feature that seems to match what you're describing. You can add filters based on data columns (like your Category field), and shapes that don't match simply won't appear on the canvas — no conditional formatting workaround needed for that use case!
If your diagram isn't an org chart, then @Humas1985 suggestions (conditional formatting, layers, or separate views per category) are the best path forward right now, since there isn't a native interactive filter for general canvases yet.
Let me know if you have any additional questions and I’m happy to point you to the right resources!