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).
The node found or undefined
if none.
T Target object type.
Resolves a node given its ID.