Unfold and Collapse the Diagram

Unfold and collapse is a feature requested by the Svelvet community and now it's available as an additional prop! To enable unfold and collapse functionality, just pass collapsible prop and set the value to true into your Svelvet component.

Click here for a sandbox, or test it out below!