# Diameter of a graph

## Definition

"The diameter \(d\) of a graph is the maximum eccentricity of any vertex in the graph."
https://en.wikipedia.org/wiki/Distance_(graph_theory)#Related_concepts
The diameter \(d\) of a graph is the maximum eccentricity of any vertex in the graph.

## Sage