gives the greatest distance between any pair of vertices in the graph g.
uses rules to specify the graph g.
- The following options can be given:
EdgeWeight Automatic weight for each edge Method Automatic method to use
- With the default setting EdgeWeight->Automatic, the edge weight of an edge is taken to be the EdgeWeight of the graph g if available; otherwise, it is .
- Possible Method settings include , , , and .
Introduced in 2010
(8.0)| Updated in 2015