a diagram of a graph