I am using Angular Material Tree and I need to expand, upon certain logic, certain nodes.
I have created an example starting from one of the examples present in the official Angular Material documentation.
At launch, the page looks like this

If i click the button Expand Fruits Node I would like to get to the following rendering
The code that manages the click of the button is the following
expandNode() {
this.nestedNodeMap.forEach((node) => {
if (node.item === "Fruits") {
this.treeControl.expand(node);
}
});
}
Unfortunately, if I click the button, nothing happens. Any suggestion on how to reach the desired behavior?
The example code can be tried here.
