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.

  • 1
    Probably you should assign the color to the edge rather than to the node? – JMP Mar 30 '16 at 11:43

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

  • Thank you :) Maybe you know how could I bend the line more? something like double bend left? :) – Mantas Mar 30 '16 at 13:00
  • 1
    @Mantas - Use bend left=50, for example, to make it more bent. – AboAmmar Mar 30 '16 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.