Resolve a link endpoint to its node id, whether the link stores ids or the simulation replaced them with nodes.
Link source or target.
Resolve a link endpoint to its node id, whether the link stores ids or the simulation replaced them with nodes.