Stochastic diagrams and Feynman diagrams