code: protected void expandItems(MaterialTreeItem item) {
          item.expand();
          item.setHide(true);
          item.getTreeItems().forEach(this::expandItems);
      }
docs: Recursive function to expand each tree item.