[Tex/LaTex] 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.

Best Answer

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

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

enter image description here