Consider the following snippet:
\begin{tikzpicture}
\def\ptRad{2pt}
\fill (0,0) circle (\ptRad);
\fill (1,1) circle (\ptRad);
\draw[<->, shorten <=\ptRad,shorten >=\ptRad] (0,0) -- (1,1);
\end{tikzpicture}
Is there a way to use only one shortening key for both ends at the same time?
pstricks
provides this shortening via the single keynodesep
. Separate end shortening can be set usingnodesepA
(for the source) andnodesepB
(for the target).