Got nodes ids (for source and target nodes) into links.