Would it be possible to add a collapse all sibling and child nodes when expanding a new node. That could help keep the formatting aligned.
But additionally a collapse/expand all option is needed in case the whole tree needs to be visible.
Thank you.