Trims all but those matrices with different underlying graphs.