ENsetlinknodes function

Set the indexes of a link's start- and end-nodes