Resolves a node given its ID.
Target object type.
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
Resolves a node given its ID.