How To Find The Gradient Of A Graph