Integrate the graph.