[Tex/LaTex] How to highlight a path using TikZ

tikz-pgf

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.

Best Answer

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}

enter image description here