collapsePortThrough method
Collapse the children and edges that expandPortThrough would reveal.
Returns true if any children/edges were removed.
For detailed removal info (to recover focus),
use collapsePortThroughWithRemoved.
Implementation
bool collapsePortThrough(String nodeId, String portId) {
final (changed, _) = collapsePortThroughWithRemoved(nodeId, portId);
return changed;
}