Replace incorrect comment for graph method