[Tex/LaTex] Breaking an arrow with text in a flowchart

arrowsbeamertikz-pgf

is there a way to "break" a vertical arrow by text going through it in a flowchart? I just need a gap in the arrow for the text to go through.

Best Answer

Here is an example using the following link : path with both mark connection node and arrow tip

enter image description here

and here is the code :

\documentclass{standalone}
\usepackage{tikz}
\tikzset{
  mylabel/.style = {font=\footnotesize, midway, fill=white, anchor=center}
}

\begin{document}

\tikzstyle{block} = [rectangle, draw, fill=blue!20, 
    text width=5em, text centered, rounded corners, minimum height=4em]

\begin{tikzpicture}[node distance = 4cm, auto]
    \node [block] (a) {a};
    \node [block, below of=a] (b) {b};
    \draw (a) -- (b) node[mylabel] {Test};

\end{tikzpicture}
\end{document}