Code: Select all
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,chains,matrix}
\pagestyle{empty}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node (A) {A};
\draw (30pt,0) node[above right] (B) {B};
\draw (A) -- (B);
\end{tikzpicture}
The line segment in between is not 30 points long even though the nodes are 30 points apart.
\end{document}