The expand / collapse action allows you to expand or collapse all pages of a selected root page.
Right-click on the desired page or hover over the page and click on the ellipsis menu "..."
Select the WIP_Expand all pages / WIP_Collapse all pages action.
If you still have questions, feel free to refer to our support team.