Expand or collapse shapes in draw.io

draw.io

#1

Hello, is it possible to create a box and customize it in order to collapse or expand it by clicking on it?


#2

Hi there, you can do this using groups. Put a “container” (under advanced) on the canvas, then drag in other shapes (maybe the List shape next to container in this case) into that container. Collapsing and expanding the container gives you the desired effect.

If you have further questions, please let us know.