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.
Asked
Active
Viewed 1,210 times
1 Answers
2
Here is an example using the following link : path with both mark connection node and arrow tip

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}
-
I wouldn’t overwrite the
labelkey … Also: Should \tikzset or \tikzstyle be used to define TikZ styles? – Qrrbrbirlbel Dec 13 '13 at 19:05 -
midwayand give it white background. – JLDiaz Dec 13 '13 at 17:43\draw[->] (start) -- (node) -- (target);. – Qrrbrbirlbel Dec 13 '13 at 18:57