Having seen some examples of electronic circuits, I would like to make an economic one like this one:
I haven't found any relevant example, so would like your help.
In case that somebody is interested in economics, a more representative circular flow is the following one:
While I was trying to create the second figure I met a problem and my code doesn't work.
\documentclass[12pt,a4paper]{article}
\usepackage[english,greek]{babel}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage{tkz-tab}
\usetikzlibrary{shapes,snakes}
\usepackage{smartdiagram}
\usepackage{geometry}
\usetikzlibrary{positioning}
\geometry{left=0.75in,right=0.75in,top=0.65in,bottom=0.65in}
\usepackage{tkz-euclide}
\usetikzlibrary{shapes.geometric}
\usepackage{tkz-fct} \usetkzobj{all}
\usetikzlibrary{calc,decorations.pathreplacing}
\usetikzlibrary{decorations.markings}
\usepackage{pgfplots}
\usepackage{verbatim}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\usepackage{filecontents}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{center}
\begin{tikzpicture}
\node (c1)[shape=circle,draw] {
$\left.
\begin{array}{c}
\textit{Επιχειρήσεις}\\
\textit{\footnotesize (Παραγωγοί)} \\
\end{array}
\right.
$
};
\node[rectangle,draw,rounded corners] (c2) [right=of c1] {Κράτος};
\node (c3) [shape=circle,draw] [right=of c2] {
$\left.
\begin{array}{c}
\textit{Νοικοκυριά}\\
\textit{\footnotesize (Καταναλωτές)} \\
\end{array}
\right.
$
};
\node(c4)[shape=circle,draw, above=of c2] {
$\left.
\begin{array}{c}
\textit{Αγορά}\\
\textit{Αγαθών}\\ \textit{Υπηρεσιών}
\end{array}
\right.
$
};
\node (c5)[shape=circle,draw, below=of c2] {
$\left.
\begin{array}{c}
\textit{Αγορά}\\
\textit{Παραγωγικών} \\
\textit{Συντελεστών}
\end{array}
\right.
$
};
\draw [<-,thick,color=Green] (c4) to [bend right=45] (c1);
\draw [<-,thick,color=Green] (c3) to [bend right=45] (c4);
\draw [<-,thick,color=Green] (c5) to [bend right=45] (c3);
\draw [<-,thick,color=Green] (c1) to [bend right=45] (c5);
\draw [->,thick, color=Red,postaction={decorate,decoration={raise=5ex,text along path,text align=center,text={ Δ}}}] (c4) to [bend left=45] (c1);
\end{tikzpicture}
\end{center}
\end{document}
Best Answer
The
circuits
library is not really suited for this kind of diagram.This can easily be achieved with three nodes and a few edges. The
shapes.geometric
library provides theellipse
shape.The
auto=right
option positions all nodes along a path on the right side (the default is left). Theswap
option changes this for only one node to the other side.Code
Output