Which of the following is true about the diameter of a graph?
It is the length of the shortest cycle
It is the maximum distance between any two vertices
It is the number of vertices
It is the average degree