Hey there
Thank you for contacting Lucid Support! This sounds like you may find some use from our Layers and Actions features in tandem. By adding shapes that you would like to hide to a different layer you can make a shape that is still shown toggle the shapes to be shown and hidden using Actions.
To do this you'll need to move your shapes that you would like to hide to a different layer. From there you can click on the shape you would like to use to toggle the layers and then select the lightning bolt (actions) navigate to layers and use the dropdown menu to toggle the layer you would like.

When this is done successfully you should be able to click a shape for each branch of your tree that will toggle the layer to be shown and hidden. It will look something like this:

Hope this helps--please let me know if you have any other questions!
Hi,
I am trying to do what you said, but I get lost during the process...would you mind to post a “step by step” process? Thanks a lot,
Andrea
Hi @AndriusGF, thanks for adding to this thread!
To add an Action to a shape in your document, you can follow these steps:
- Select a shape.
- Click
the lightning bolt icon in the Formatting bar. - Choose an Action type from the top of the Actions menu.

- Follow the prompts for the selected Action. See sections below for details.
To learn more, I recommend reading through the Add layers to a Lucidchart document article and the Add an Action or link to a shape in Lucidchart article from the Help Center.
Please let me know if you have any additional questions or have trouble here! I’m happy to dig into this and keep helping!