Enviar aquest missatge de text: Duality in inhomogeneous random graphs, and the cut metric