\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{circuitikz}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{circuitikz}
\node (A) at (-1,0) {$a$};
\node (1) at (0,1) {$1$};
\node (C) at (0,0) {$c$};
\node (B) at (1,0) {$b$};
\node (0) at (0,-1) {$0$};
\draw
(A) -- ++ to [short, o-*] ++ (1)
to [short, o-*] ++ (B)
to [short, o-*] ++ (0)
;
\end{circuitikz}
\end{document}
I tried to draw this first by tikzpicture
but the circles are not available in tikzpicture
(I think). So next I tried by circuitikz
. But I could not join the nodes .
Best Answer
With pure
tikz
: