\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-node,multido}
\psset{arcangle=90,nodesep=3pt,arrows=->}
\begin{document}
\multido{\n=3+-.75}{4}{%
\pspicture(3,3)
\rput[bl](0,1){\rnode[t]{A}{A}}
\rput[br](\n,1){\rnode[t]{B}{B}}
\ncarc{A}{B}
\endpspicture}
\end{document}
答案1
只是为了好玩,使用 TikZ 和新的 CVSbending
库:
\documentclass[border=0.125cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,bending}
\begin{document}
\begin{tikzpicture}
\tikzset{>=Stealth}
\node at (0.5,1) {Normal};
\node (A) {A};
\node (B) at (1 ,0) {B};
\draw [<->] (A.north) .. controls ++(0,0.25) and ++(0,0.25) .. (B.north);
\tikzset{xshift=2cm, >={Stealth[bend]}}
\node at (0.5,1) {Bent};
\node (A) {A};
\node (B) at (1 ,0) {B};
\draw [<->] (A.north) .. controls ++(0,0.25) and ++(0,0.25) .. (B.north);
\end{tikzpicture}
\end{document}