rename TransitionToNextNode to TransitionToNode.

rename TransitionToNextNode to TransitionToNode.