pub fn graph_diameter(graph: &EinsumGraph) -> Option<usize>
Compute graph diameter (longest shortest path).