Qurak

GraphDiameter

Available

Maximum shortest path distance.

GraphDiameter[g]
GraphDiameter[{v -> w, …}]
GraphDiameter[KaryTree[3]] → 2

Topics

Related

All 6300 functions · Use this from an MCP client