a diagram of a graph and a diagram of a graph