circuitikz – Drawing Diamond Lattice Structures Using Circuitikz in LaTeX

circuitikz

How do I draw
this diagram?

\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:

\documentclass[12pt,margin=3.141592]{standalone}
\usepackage{tikz}

\begin{document}
    \begin{tikzpicture}[
C/.style = {circle, draw, fill=white, inner sep=1mm,
            label=#1,
            node contents={}},
every label/.append style = {inner sep=2pt, font=\small}
                        ]
\draw (-1,0) node       [C=left:$a$]    -- (0,1) 
             node (c1)  [C=$1$]         -- (1,0)
             node       [C=right:$b$]   -- (0,-1)
             node (c0)  [C=below:0]     -- cycle
             ;
\draw (c1)  --  (0,0) node[C=left:$c$]
            --  (c0);
    \end{tikzpicture}
\end{document}

enter image description here

Related Question