Generation of flow networks robust against damages.