I would like to add arrows to my open and closed switches. What is the easiest way to do this?
\documentclass{article}
\usepackage[free-standing-units]{siunitx}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1.5]
\draw (0,0) to [short] (0,2)
to[short,-o](0.75,2);
\draw[ very thick](0.78,2)-- +(30:0.46);
\draw (1.25,2)to[short,o-](2,2)
to [short](2,0)
to [short,-o](1.25,0);
\draw [very thick] (1.22,0)--(0.77,0);
\draw (0.75,0)to [short,o-](0,0);
\end{circuitikz}
\end{document}
Best Answer
On TikZ way:
Supplement: For arrows with triangle shape you can select one of many oprions, which offer
arrows.meta
library. With help of librarybending
you can add to arrows optionflex
, which better determine direction of arrow's head:Above code generate the following picture: