Fixed graph api def