I have been trying to draw a flowchart using tikz. I took help from the overleaf's guide to define the elements. Overleaf LaTeX Graphics using TikZ: A Tutorial for Beginners (Part 3)—Creating Flowcharts This works fine until I faced a complicated chart that goes back several steps from decision block. The code I used:
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage[colorlinks=true,urlcolor=blue,citecolor=blue]{hyperref}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{io} = [trapezium, trapezium left angle=80, trapezium right angle=100, minimum width=1cm, minimum height=1cm, text centered, draw=black, fill=blue!30]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=orange!30]
\tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
\tikzstyle{arrow} = [thick,->,>=stealth]
\begin{document}
\section{Example of a Flowchart}
%
\begin{figure}[h]
\centering
\begin{tikzpicture}[node distance=2cm]
\node (W) [io]{Some Matrix A};
\node (C) [io, right of=W, xshift=6cm]{Some Matrix B};
\node (Comp3) [process, below of=W]{Compute this};
\node (Comp4) [process, below of=C]{Compute that};
\node (Proc) [process, below of=Comp3, xshift=4cm]{Compare result A with result B sequentially};
\node (Match) [decision, below of=Proc, yshift=-0.5cm] {Match found ?};
\node (Comp5) [process, below of=Match,yshift=-0.5cm]{Found this match};
\draw [arrow] (W) -- (Comp3);
\draw [arrow] (C) -- (Comp4);
\draw [arrow] (Comp3) |- (Proc);
\draw [arrow] (Comp4) |- (Proc);
\draw [arrow] (Proc) -- (Match);
\draw [arrow] (Match) -- node[anchor=east] {Yes} (Comp5);
\draw [arrow] (Match) -| node[anchor=north] {No} (Comp4);
\end{tikzpicture}
\end{figure}
\end{document}
In the result, the two arrows got merged. I want to create some horizontal space between them. Is there any way to introduce space or adjust the starting and ending point for those arrows? Or to make curved arrows, instead of straight lines?