How could I avoid the wire being drawn over the pin like this?
I just scaled the circuit over 1 (scale=1.5), and know some wires overlap some elements. You can see at the above image that the orange wire is drawn over the voltage source.
Here is an example where this happens, zoom in a little bit.
\documentclass[a4paper,12pt]{article}
\usepackage[a4paper, margin=2cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[]{circuitikzgit}
\begin{document}
\begin{center}
\begin{circuitikz}[rotate=90,scale=1.5,transform shape]
\draw (-3,-4) node[dcvsourceshape,rotate=90,label={[label distance=0.25cm]-45:\tt 5 V}](Vi){};
\draw[color=orange] (Vi.right) -- ++(0,1);
\end{circuitikz}
\end{center}
\end{document}
As you can see I have used the last release of CircuiTikz, this is were you can get it.





\draw[color=orange,shorten <=0.4pt] (Vi.right) -- ++(0,1);. I do not believe that this problem can be completely solved. Yes, one could place the anchors differently. But then there would be small gaps showing up because the contour of the circle is curved. The only thing that I could think of is some inverse clip or drawing the orange line on the background layer. None of these will be easy to implement in a fully automatic way. – Jan 08 '20 at 00:39