Theorem
Two diagrams represent equivalent link if and only if they differ by a sequence of Reidemeister moves and deformations of diagrams that preserve crossing data.
See here