using circuitikz (siunitx), I would like to draw a diode within a rectangle, but the option to place text within a node doesn't allow that:
\draw (0,0) to node[draw,rectangle, fill=white] {a diode instead of text} (4,0);
How would I do that?
How would I add a text next to the node, how do I control on which side the text is?