I wrote the following code, trying to get a commuting triangle with one of the arrows being dotted.
\begin{tikzcd}[column sep=1.5em]
S \ar{dr}{f} \ar{rr}{m} && Y\arrow[dl,dotted]{g} \\
&F
\end{tikzcd}
But the dotted arrow doesn't display the label g
as I tried to make things.
What am I doing wrong here?