We prove the Bershadsky-Cecotti-Ooguri-Vafa's conjecture for all genus Gromov-Witten potentials of the quintic threefolds, by identifying the Feynman graph sum with the $\nmsp$ stable graph sum via an R-matrix action. The Yamaguchi-Yau functional equations and the formulas of $F_1,F_2$, are direct consequences of the BCOV Feynman sum rule.