
完全なパスに矢印の先端Fast Triangle
(3.0.0 マニュアルの 212 ページ) を使用できますか? (または、次のようにします)
これまでに得たもの
(TikZ 3.0.0 が必要です)
\documentclass[margin=5]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{bending}
\begin{document}
\begin{tikzpicture}
\node[circle, draw] (a) {a};
\node[circle, draw, right=of a] (b) {b};
\draw [f/.tip = Fast Triangle,
line width=1ex,
{Triangle Cap[reversed] }-{[bend] Triangle Cap[] . ffffff}]
(a) to [bend left] (b);
\end{tikzpicture}
\end{document}
結果
答え1
ライブラリを使用して同様のものを作成できましたdecorations
。(tikz 3.0 は必要ありません):
しかし、ノードを直接ポイントすることはできませんでした。
\documentclass[margin=5]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}
\node[circle, draw] (a) {a};
\node[circle, draw, right=of a] (b) {b};
\draw [decoration={
markings,
mark=between positions 0 and 1 step 4pt with {
\node[fill=black,signal from=west, signal to=east,signal, transform shape,minimum width=2pt,minimum height=5pt, inner sep=0]{};}}, decorate]
(a) to [bend left] (b);
\end{tikzpicture}
\end{document}