added highlightBetweenNodes