Representing products of manifolds by edge-coloured graphs: the boundary case