答案1
答案2
您可以只使用loop above
、loop right
、 ... 键,而不必担心细节。
\documentclass[border=2mm]{standalone}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
i \arrow[r,"\alpha"] & j \arrow[out=120,in=60,loop,"\beta_1"]
\arrow[out=240,in=300,loop,swap, "\beta_2"]
\end{tikzcd}
\begin{tikzcd}
i \arrow[r,"\alpha"] & j \arrow[loop above,"\beta_1"]
\arrow[loop below, "\beta_2"]
\arrow[loop right, "\beta_3"]
\end{tikzcd}
\end{document}