How can I make an expanded-entity element collapsible? I would like to do that because I want to also make a diagram showing just the entities and since duplicating work can be avoided by collapsing the above mentioned element type. 
Collapse expanded-entity element in draw.io
draw.io