Expand and Collapse nodes option in VISDCC network on Dash

Hello everyone i was looking for a way to add expand or collapse node feature on network graph created using this wonderful library VISDCC. Please help.