Constructing Gradient Graphs