networkDiameter

Returns the diameter of the network in environment units if it is not segmented, and NaN otherwise.