Called when a child node is expanded or collapsed to propagate this event to parent nodes to update layout.