Function In A Graph