How can I change the appearence of a voltage source
in TikZ.
The picture shows the actual and the desired result (faked manually)
Code
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\node at (0,0) [anchor=south west] {desired};
\node at (0,2) [anchor=south west] {actual};
% actual:
\draw (0,2) to[voltage source={info={$U_\sim$}}] ++(5,0);
% desired (faked):
\draw [radius=1pt,fill=white] (0,0) -- ++(2.25,0) circle ++(0.5,0) circle --++(2.25,0);
\fill [radius=0.8pt,fill=white] (0,0) -- ++(2.25,0) circle ++(0.5,0) circle --++(2.25,0);
\path (0,0) -- (5,0) node [midway,above] {$U_\sim$};
\end{tikzpicture}
\end{document}