The city’s city-to-city diplomatic network spans from Bogota to Moscow. How do cities make the cut?