[Tex/LaTex] How to change node arrow color in tikz


So I have tried fill=red and color=red , but it's not doing the job. Fill color my node text and color color my all texts and node arrow. I need only node arrow to be colored, maybe any suggestions?

My code of node:

(B) edge[bend left] node[sloped, anchor=center,text=green, above] {\tiny OK} (E)

Thanks in advance.

Best Answer

Use draw=green as path option. To color node text, use text=<color>.


\node[right=of B](E){};
\path(B) edge[draw=green,bend left] node[sloped, anchor=center,above] {\tiny OK} (E);


enter image description here

Related Question