networkx.algorithms.diameter ============================ .. currentmodule:: networkx.algorithms .. autofunction:: diameter