I would like to add some labels onto chain join arrow lines.
Any command can be added to join styles with labels?
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta,chains}
\begin{document}
\begin{tikzpicture}[
node distance=1.5cm,
arrow/.style={->, >=Stealth, thick},
every on chain/.append style={draw,join,rounded corners,minimum width=2cm, minimum height=1cm, align=center},
every join/.style={arrow},
start chain=C1 going right,
]
\def\nodes{
A/A2B,
B/B2C,
C/C2A%
}
\foreach \name/\label [count=\i] in \nodes {
\typeout{debugme \label}
\node[on chain,join] (N\i) {\name};
}
\end{tikzpicture}
\end{document}



C1-1,C1-2, … by thechainslibrary, by the way. The first is also available under the nameC1-beginand the currently last underC1-end. Since you've addedjointo both theevery on chainstyle as well as the options of the node, the arrows are actually drawn twice. Since the answers also use thejoinwith the node, I'd remove thejoinfrom theevery on chainstyle. – Qrrbrbirlbel Jan 11 '24 at 15:25