\documentclass{standalone}
\usepackage{tikz}
\usepackage{tikz-feynman} 
\begin{document}
\begin{tikzpicture}
  \draw (0,0) rectangle (2,1) node [midway] {Example};
\end{tikzpicture}
\end{document}
