Generalized Minimum Manhattan Networks