I have this code:
% Define block styles
\tikzstyle{C} = [diamond, draw, fill=blue!20, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{I} = [chamfered rectangle, minimum width=1.5cm, minimum height=1cm, draw,chamfered rectangle corners=north west]
\tikzstyle{P} = [chamfered rectangle, minimum width=1.5cm, minimum height=1cm, draw,chamfered rectangle corners=south east]
\tikzstyle{V} = [rectangle, draw, minimum width=1.5cm, minimum height=1cm]
\tikzstyle{S} = [draw, ellipse,fill=red!70, node distance=3cm, minimum height=2em]
\tikzstyle{line} = [draw, -latex']
%------------------------------------------------
\begin{center}
\begin{tikzpicture}
%nodes
\node [S] (S1) {\textbf{START}};
\node [I, below of=S1,node distance=1.5cm] (I1) {$ x $};
\node [I, below of=I1,node distance=1.5cm] (I2) {$ n $};
\node [C, below of=I2,node distance=2.1cm] (C1) {$ n\>0 $};
\node [V, below of=C1,node distance=2.1cm] (V1) {$ i\leftarrow 1 $};
\node [C, below of=V1,node distance=2.1cm] (C2) {$ i\<n $};
\node [S, right of=C2,node distance=2.7cm] (S2) {\textbf{STOP}};
\node [V, below of=C2,node distance=2.1cm] (V2) {$ y=x+i $};
\node [P, below of=V2,node distance=1.5cm] (P1) {$ y $};
\node [V, below of=P1,node distance=1.5cm] (V3) {$ i\leftarrow i+1 $};
%arrows
\begin{scope} [every path/.style=line]
\path (S1) -- (I1);
\path (I1) -- (I2);
\path (I2) -- (C1);
\path (C1) -- (V1);
\path (V1) -- (C2);
\path (C2) -- (V2); \path (C2) -- (S2);
\path (V2) -- (P1);
\path (P1) -- (V3);
\end{scope}
\end{tikzpicture}
\end{center}
and I have this output:
How to get instead the output:
In other words, which kind of command I need in order to get the arrows in blue?




\documentclass{...}used libraries and packages,begin{document}your flowchart\end}doument}. – Zarko Oct 16 '16 at 16:52