答案1
您可以从以下位置开始:
\documentclass{article}
\usepackage{tikz}
\tikzset{
mybox/.style={rounded rectangle,draw=black,align=center},
}
\usetikzlibrary{positioning,shapes.misc}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[>=latex]
\node[mybox] (Charlie) {\textbf{Charlie}\\ text text text text\\ text text text text};
\node[mybox] (Adam) [below left =of Charlie, fill=green] {\textbf{Adam}\\ text text text text\\ text text text text}edge [->] node[left=10pt,name=CA] {some text} (Charlie) ;
\node[mybox] (Betty) [below right =of Charlie] {\textbf{Betty}\\ text text text text\\ text text text text}edge [->] node[below=10pt,name=AB] {some text} (Adam) edge[<-] node[right=10pt,name=BC] {some text} (Charlie) ;
\end{tikzpicture}
\caption{Some caption}
\end{figure}
\end{document}
答案2
另一个起点......使用的是,,,arrows.meta
和TikZ库:positioning
quotes
shadows
shapes.misc
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{arrows.meta,
positioning,
quotes,
shadows, shapes.misc}
\begin{document}
\begin{tikzpicture}[auto,
node distance = 18mm and 9mm,
box/.style = {rounded rectangle, draw=#1, thick, fill=#1!30,
align=center, drop shadow},
every edge/.style = {draw=gray, -Triangle, line width=1.2mm,
shorten >=1mm, shorten <=1mm},
every edge quotes/.style = {font=\small\linespread{0.84}\selectfont, align=center}
]
\node (Charlie) [box=red] {\textbf{Charlie}\\
text text text text\\ text text text text};
\node (Adam) [box=blue,
below left=of Charlie] {\textbf{Adam}\\
text text text text\\
text text text text};
\node (Betty) [box=green,
below right=of Charlie] {\textbf{Betty}\\
text text text text\\
text text text text};
\path (Charlie) edge ["some\\ text"] (Betty)
(Betty) edge ["some\\ text"] (Adam)
(Adam) edge ["some\\ text"] (Charlie);
\end{tikzpicture}
\end{document}
(因为启动 MWE 是使用@leandriis 答案的)