I have drawn a long line with an arrow from one node to another. How do I strike out or cancel that line? What I want is something similar to how \not cancels \to in A \not\to B, e.g.

Here's what I got so far and what I want to mimic:

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (a) {\(A\)};
\node (b) at (3,0) {\(B\)};
\draw[->] (a) to (b);% I want this line cancelled/striked out
\end{tikzpicture}
\(A \not\to B\)
\end{document}


[bend left/right]. – N.N. Oct 14 '11 at 15:45