I need to create an automaton like Uml Activity diagram, I used this link but I do not get it.
I tried to do it with this code :
\begin{tikzpicture}[>=stealth,every node/.style={shape=rectangle,draw,rounded corners},]
% create the nodes
\node (c0)[shape=circle, fill=black] {};
\node (c1) [right =of c0]{label 1};
\node (c2) [below =of c1]{label 2};
\node (c3) [below =of c2]{label 3};
% connect the nodes
\draw[->] (c0.north) to[out=90,in=90] (c1.north);
%\draw[->] (c1.south) to[out=180,in=180] (c0.south);
\draw[->] (c1.west) to[out=180,in=180] (c2.west);
\draw[->] (c2) to[out=180,in=180] (c3);
\draw[->] (c3.east) to[out=180,in=180] (c2.east);
\draw[->] (c3.east) to[out=180,in=180] (c1.east);
\end{tikzpicture}
I also misunderstood how to use this command to [out = X in = Y] to repair the direction of the arrows
Unfortunately, I get this figure


\draw (c0) to [out=X,in=Y] (c1);means that line "depart" coordinatec0at angle X and "arrive" to coordinatec1at angleY, i.e. line is not straight but bend. And again, what is your problem? – Zarko Dec 02 '16 at 21:35to [out = X in = Y]to repair the direction of the arrows – Ans Piter Dec 02 '16 at 21:39