Fix typo in graph fn.