I would like it if someone can help me to draw the enclosed diagram?
This is the code that I made:
\tikzstyle{block} = [draw, fill=cyan, regular polygon,
minimum height=3em, minimum width=6em]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
\begin{figure}[ht]
\centering
\begin{tikzpicture}[auto, node distance=2cm,>=latex']
\node [input, name=input] {};
\node [block, right of=sum] (Ablock) {A} edge [loop above] node {$\alpha$} (A);
\node [block, right of=Ablock, node distance=4cm] (Bblock) {B} edge [loop above] node {$\beta$} (A);
\draw [->] (Ablock) -- node[name=b] {a} (Bblock);
\begin{scope}[transform canvas={yshift=-2mm}]
\draw [->] (Bblock) -- node[name=a] {$b$} (Ablock);
\end{scope}
\node [output, right of=Bblock] (output) {};
\node [block, below of=b] (Cblock) {C} edge [loop below] node {$\gamma$} (C);
\draw [->] (sum) -- node {} (Ablock);
\draw [-] (Bblock) -| (output) node [name=c] {};
\draw [-] (c) |- (Cblock);
\draw [-] (Cblock) -| [near end] {} (sum);
\end{tikzpicture}
\end{figure}




\tikzstyleis deprecated. You shouldn't use it! – samcarter_is_at_topanswers.xyz Feb 16 '23 at 17:29right ofmightn't be the best way to place nodes. – Qrrbrbirlbel Feb 16 '23 at 19:28filledcirclenodeabove=of Cblockas well asleft=of Cblock. 3. Use path operations-|and|-to connect these new ones. 4. Load thearrows.metalibrary and use the arrow tipCircle, i.e.Circle->with>=Latexinstead oflatex'. – Qrrbrbirlbel Feb 16 '23 at 19:32