I have drawn the following diagram using the tikz package. I need to add labels on arrows and reference them back in the text. How can I do that? I would be so grateful if someone could give feedback on this issue.
Meanwhile, the corresponding code is
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\tikzset{every picture/.style={line width=0.75pt}}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (140,145) -- (238.59,243.59) ;
\draw [shift={(240,245)}, rotate = 225] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (264,237) -- (377.23,98.55) ;
\draw [shift={(378.5,97)}, rotate = 489.28] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (404,82) .. controls (444,52) and (422.5,383) .. (554.5,244) ;
\draw [shift={(554.5,244)}, rotate = 493.52] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (122,127) node [anchor=north west][inner sep=0.75pt] [align=left] {$ $};
\draw (122,124) node [anchor=north west][inner sep=0.75pt] [align=left] {$A$};
\draw (248,241) node [anchor=north west][inner sep=0.75pt] [align=left] {$B$};
\draw (122,133) node [anchor=north west][inner sep=0.75pt] [align=left] {$ $};
\draw (382,74) node [anchor=north west][inner sep=0.75pt] [align=left] {$C$};
\draw (561,226) node [anchor=north west][inner sep=0.75pt] [align=left] {$D$};
\end{tikzpicture}
\end{document}



#2%in the\newcommand{\customlabel}macro was too much. I forgot to remove this when modifying the code to be compatible withhyperref. Sorry about that. – Sam Nov 20 '20 at 13:23