For a graph embedded in an orientable surface , we consider associated links in the thickened surface . We relate the HOMFLY polynomial of to the recently defined Bollobás–Riordan polynomial of a ribbon graph. This generalizes celebrated results of Jaeger and Traldi. We use knot theory to prove results about graph polynomials and, after discussing questions of equivalence of the polynomials, we go on to use our formulae to prove a duality relation for the Bollobás–Riordan polynomial. We then consider the specialization to the Jones polynomial and recent results of Chmutov and Pak to relate the Bollobás–Riordan polynomials of an embedded graph and its tensor product with a cycle.