在圆圈之间绘制带有文字的粗双面箭头

在圆圈之间绘制带有文字的粗双面箭头

这是我第一次使用 Latex 来绘制东西,所以这对我来说都是全新的。

我正在尝试绘制以下内容

在此处输入图片描述

我画的圆圈差不多正确,但我不知道如何画出这些箭头:

在此处输入图片描述

这是我的代码:

\begin{tikzpicture}
\def\firstcircle{(0,0) circle (2cm)}
\def\secondcircle{(6,-8) circle (2cm)}
\def\thirdcircle{(12,0) circle (2cm)}
\begin{scope}[ fill opacity=0.8]
    \fill[red] \firstcircle;
    \fill[green] \secondcircle;
    \fill[blue] \thirdcircle;
\end{scope}

\draw \firstcircle node[] (c1) {Verwacht};
\draw \secondcircle node[] (c2) {Afspraak};
\draw \thirdcircle node[] (c3) {Geleverd};
\draw[<->] (c1) -- (c2);
\draw[<->] (c2) -- (c3);
\draw[<->] (c3) -- (c1);
\end{tikzpicture}

如果有人能帮我解决这些问题,谢谢!

答案1

从v3arrows.meta开始tikz

\documentclass[tikz,border=10pt]{standalone}
\usetikzlibrary{arrows.meta}
\begin{document}
  \begin{tikzpicture}
      \node[fill=red,circle,minimum width=1cm] at (0,0) (c1) {Verwacht};
      \node[fill=blue,circle,minimum width=1cm] at (5,0) (c2) {Afspraak};
      \node[fill=green,circle,minimum width=1cm] at (2.5,-4) (c3) {Geleverd};
      \draw[draw=red!60!black,line width=12pt,{Latex[length=9mm]}-{Latex[length=9mm]}] (c1)  -- (c2) 
         node[midway,text=white,font=\footnotesize\bfseries]{tevreden};
      \draw[draw=red!60!black,line width=12pt,{Latex[length=9mm]}-{Latex[length=9mm]}] (c2) -- (c3) 
         node[midway,text=white,font=\footnotesize\bfseries,sloped]{betrouwbaar};
\draw[draw=red!60!black,line width=12pt,{Latex[length=9mm]}-{Latex[length=9mm]}] (c3) -- (c1) 
         node[midway,text=white,font=\footnotesize\bfseries,sloped]{duidelijk};
  \end{tikzpicture}
\end{document}

在此处输入图片描述

arrows.meta(应与tikzv2.1 兼容)

\documentclass[tikz,border=10pt]{standalone}
\usetikzlibrary{arrows}
\begin{document}
  \begin{tikzpicture}
    \node[fill=red,circle,minimum width=1cm] at (0,0) (c1) {Verwacht};
    \node[fill=blue,circle,minimum width=1cm] at (5,0) (c2) {Afspraak};
    \node[fill=green,circle,minimum width=1cm] at (2.5,-4) (c3) {Geleverd};
    \draw[draw=red!60!black,line width=10pt,stealth-stealth] (c1)  -- (c2) 
        node[midway,text=white,font=\footnotesize\bfseries]{tevreden};
    \draw[draw=red!60!black,line width=12pt,stealth-stealth] (c2) -- (c3)
        node[midway,text=white,font=\footnotesize\bfseries,sloped]{betrouwbaar};
    \draw[draw=red!60!black,line width=12pt,stealth-stealth] (c3) -- (c1)
        node[midway,text=white,font=\footnotesize\bfseries,sloped]{duidelijk};
   \end{tikzpicture}
\end{document}

在此处输入图片描述

最后,一切都归结为箭头的选择/设计。虽然tikzv3 提供了许多可能性,但 v2.1 的可能性有限。根据您的喜好选择箭头类型。

相关内容