Given two nodes connected by a directed edge, the target node is the node that is at the end of the arrow.