I’m trying to have colour gradient on path, and discovered fade-no-fill.sty, which latest version seems to be https://tex.stackexchange.com/a/567029/56823. It works pretty well, but I have two small issues.
My MWE is as follow:
\documentclass[tikz]{standalone}
\usepackage{fade-no-fill}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\l}{3}
\node [red,draw,thick,ellipse] (S) at (-\l,0) {Solide};
\node [blue,draw,thick,ellipse] (L) at (\l,0) {Liquide};
\node [green,draw,thick,ellipse] (G) at (0,{\l*sqrt(3)}) {Gaz};
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{bottom color=red,top color=green}] (S) to[bend left] (G);
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{top color=green,bottom color=blue}] (G) to[bend left] (L);
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{right color=blue,left color=red}] (L) to[bend left] (S);
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{left color=red,right color=blue}] (S) to (L);
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{top color=green,bottom color=blue}] (L) to (G);
\path [fade path but don't fill={thick,->,>=latex,transparent!0}{bottom color=red,top color=green}] (G) to (S);
\end{tikzpicture}
\end{document}
- the clipped blue arrow above “Liquide”.
- the very strange arrow at the left of “Liquide”.
Any idea what could be causing this and how to solve it?






\usetikzlibrary{arrows.meta}"% needed so that bounding boxes correctly include arrows." (should already be infade-no-fill.sty- but try it) – hpekristiansen Sep 17 '21 at 21:27\path [fade path but don't fill={thick,->,>=latex,transparent!0}{top color=green,bottom color=blue}] (G) to[bend left] (L) edge[draw=none] ([turn] 90:0.2);– hpekristiansen Sep 17 '21 at 21:37path fading, it looks like the bounding box is doubled(but apparently not here) so that only when lines are near horizontal/vertical arrow heads are clipped. https://tex.stackexchange.com/q/597927/8650 – hpekristiansen Sep 18 '21 at 00:03