Resolves a node given its ID.
Node where to start the search. The search will be done on it and all its children.
ID to search for.
Function that will be used to get the ID from an object (getModelRefId by default).
getModelRefId
The node found or undefined if none.
undefined
T Target object type.
Resolves a node given its ID.