Groups of Feynman diagrams in link theory