I have the following:
\begin{tikzpicture}
\matrix (m) [matrix of math nodes, row sep=1em, column sep=3em]{
\quad & a_1 & \quad \\
b & a_2 & \{ a_1, a_2 \dots a_n \} \\
\quad & a_n & \quad \\
\quad & \quad & \quad \\
};
\path[-latex]
(m-2-1) edge node[above] {$R$} (m-1-2)
(m-2-1) edge node[above] {$R$} (m-2-2)
(m-2-1) edge node[above] {$R$} (m-3-2)
(m-2-3) edge node[above] {$\in$} (m-1-2)
(m-2-3) edge node[above] {$\in$} (m-2-2)
(m-2-3) edge node[above] {$\in$} (m-3-2)
(m-2-2) edge[-, densely dotted] (m-3-2);
\draw[-latex] (m-2-1.south) |- (m-4-1.east) -| (m-2-3);
\end{tikzpicture}
And would like to put a label on the last edge created with draw command but do not know how.
As you can see it is a particular edge.
