答案1
您必须手动定位顶点。
\documentclass{article}
\usepackage{tikz-feynman,contour}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\begin{feynman}
\vertex[blob,label={right:$p$}] (m) at ( 0, 0) {\contour{white}{$\uparrow$}};
\vertex (a) at (-1,-2) {$\uparrow$};
\vertex (b) at ( 1,-2) {$\downarrow$};
\vertex (c) at (-1, 2) {$\uparrow$};
\vertex (d) at ( 1, 2) {$\downarrow$};
\diagram* {
(a) -- [fermion,edge label=$-k$] (m) -- [fermion,edge label=$-k'$] (c),
(b) -- [fermion,edge label'=$k+p$] (m) -- [fermion,edge label'=$k'+p$] (d),
};
\end{feynman}
\end{tikzpicture}
\caption{Scattering at a 4-vertex.}
\end{figure}
\end{document}