I am using the following code to draw a commutative diagram and I want to draw the chi above the arrow but I don't know how
\begin{document}
\usepackage{tikz-cd}
\begin{center}
\begin{tikzcd}
& I &\\
0 \arrow[r]&M \arrow[r, "\psi"] \arrow[u, "\phi" near start] & N \arrow[lu, "\chi" near end]
\end{tikzcd}
\end{center}
Is there a way to get the chi above the arrow from N to I?
swap
option.\arrow[lu, "\chi" {near end,swap}]
as @CarLaTeX says. A prime also works\arrow[lu,"\chi"' near end]
.