Text this: Diameter-constrained reliability : theory and applications