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