答案1
这显示了组件的一些锚点。请注意,如果需要,可以覆盖或剪切引线。
\documentclass[border=2pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R,name=R1] (2,0);
\draw[red] (R1.south west) rectangle (R1.north east);
\draw (0.5,-0.5) node[sground] (G1) {};
\draw[red] (G1.south west) rectangle (G1.north east);
\draw (2,-1) node[nmos] (T1) {};
\draw[red,opacity=0.5] (T1.south west) rectangle (T1.north east);
\begin{scope}% local clip
\draw[opacity=0] (3,-1) node[nmos] (T2) {};
\clip (T2.gate) -- (T2.north) -- (T2.inner up) -- (T2.inner down) -- (T2.south) -- cycle;
\draw (T2.center) node[nmos] {};
\end{scope}
\end{circuitikz}
\end{document}