AddPoints method added to access Graph.