I am trying to build the following diagram in latex with tikz:
However I only could find the following template to do a similar diagram:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}
\tikzset{
%Define standard arrow tip
>=stealth',
%Define style for boxes
punkt/.style={
rectangle,
rounded corners,
draw=black, very thick,
text width=6.5em,
minimum height=2em,
text centered},
% Define arrow style
pil/.style={
->,
thick,
shorten <=2pt,
shorten >=2pt,}
}
\begin{document}
\begin{tikzpicture}[node distance=1cm, auto,]
%nodes
\node[punkt] (market) {A};
\node[punkt, inner sep=5pt,below=0.5cm of market]
(formidler) {B};
\node[punkt, inner sep=5pt,below=0.5cm of formidler]
(forbottom) {C};
% We make a dummy figure to make everything look nice.
\node[above=of market] (dummy) {};
\node[right=of dummy] (t) {2}
edge[pil,bend left=45] (market.east) % edges are used to connect two nodes
edge[pil, bend left=45] (formidler.east); % .east since we want
% consistent style
\node[left=of dummy] (g) {1}
edge[pil, bend right=45] (market.west)
edge[pil, bend right=45] (formidler.west)
edge[pil, bend right=45] (forbottom.west)
edge[pil,<->, bend left=45] node[auto] {0} (t);
\end{tikzpicture}
\end{document}
Which results the following:
Any idea on how to build the diagram horizontally rather than vertically?
Thanks in advance for your time.