a graph is a diagram.