I would like to mix "conventional" tikz node
and circuitikz
components in the same tikzpicture
but I have problem with positioning them.
For example, I would like to obtain this result:
But with the MWE below I obtain this result (the node is overlapping the battery component):
How can I avoid the overlap of the node and the battery without manual increase of the distance between them?
MWE
\documentclass{standalone}
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) to [battery1={bat}, name=bat] ++(0.5,0)%
(bat.east) -- ++(0.5,0)%
node[rectangle,draw] (Nod1) {Node 1}%
;%
\end{tikzpicture}
\end{document}
node[anchor=west,rectangle,draw] (Nod1) {Node 1}
anchor=west
is the same asright
;-)