[Converting the OPs comment into an answer]
Found the answer: Draw an arrow path with a double line and at the same place draw a path with one line and voila - "triple" lined arrow.
triplearrow/.style={
draw=black!75,
color=black!75,
thick,
double distance=4pt,
<-,
>=stealth
},
thirdline/.style={
draw=black!75,
color=black!75,
thick,
<-,
>=stealth
}
I am also not 100% sure about the question, but hope this addresses the various parts I see.
Here is an example of a straight line, a curved line, and a shortened curved line (in violet):
1. Draw Straight Line:
\draw (G) -- (R)
produces the straight olive line from (G)
to (R)
.
2. Curved Line:
\draw (R) to[out=-20,in=-70] (B)
produces the red line with curvature. Instead of using --
, we use the to
syntax, and the options out=
specifies the angle at the start point, and the in=
specifies the angle at the end point.
Using distance=3cm
with the same in=
, and out=
we get the red dotted line.
3. Shortened Line:
Withe either of the straight or curved lines, one can use shorten <=
to shorten the start point or shorten >=
to shorten the end point. A shorten of 0.25cm
is applied to both ends of the violet line.
Code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[ultra thick]
\coordinate (G) at (2.3,6.1);
\coordinate (R) at (6.4,3.9);
\coordinate (B) at (2.1,1.7);
\node [fill=green,circle] at (G) {};
\node [fill=red, circle] at (R) {};
\node [fill=blue, circle] at (B) {};
\draw [olive, -] (G) -- (R);
\draw [red] (R) to[out=-20,in=-70] (B);
\draw [red,dotted] (R) to[out=-20,in=-70, distance=3cm ] (B);
\draw [violet, ->, shorten <= 0.25cm, shorten >= 0.25cm] (B) to[out=120,in=150] (G);
\end{tikzpicture}
\end{document}
Best Answer
Maybe with the
decorations.marking
library: