How to highlight a path using TikZ?

Say I have an arrow leading pointing from one node to another node under TikZ. Is there a way to highlight this arrow?

I'm looking for a result that looks (more or less) as though I've printed a diagram and used a highlighter marker to accentuation an arrow. Preferably, only the arrow would be highlighted.

• Could you provide the code showing the diagram you developed? This would help a lot people that want to answer you. :) – Claudio Fiandrino Sep 19 '12 at 16:28

You can put a double line(or a thick line) behind your path

\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[ultra thick,-latex, %Regular stuff
preaction={%But before that
draw,yellow,-,% Draw yellow without any arrow head
double=yellow,
double distance=2\pgflinewidth,
}] (0,0) to[bend right] (2cm,2cm);
\end{tikzpicture}
\end{document}


• This is exactly what I was looking for! – Chernoff Sep 19 '12 at 18:23