我查看了各种资料,它们似乎都解决了这个问题,但在图片本身的绘制方式上略有不同,因此它们的解决方案不适用于我。我对 LaTeX 非常陌生,对 Tikz 更是陌生,因此并不完全了解我在做什么,但我的问题是,我的图中有边,它们似乎与节点重叠。附上了一张图片。我不希望发生这种情况,而且似乎找不到一个解决方案。非常感谢您抽出时间。
\begin{tikzpicture}
\tikzset{% This is the style settings for nodes
dep/.style={rectangle,minimum size=1cm,fill=orange!20,draw=orange,
general shadow={fill=gray!60,shadow xshift=1pt,shadow yshift=-1pt}},
cli/.style={draw,rectangle,minimum size=0.5cm,fill=white},
spl/.style={cli,append after command={
node[circle,draw,dotted,
minimum size=1.5cm] at (\tikzlastnode.center) {}}},
c1/.style={-stealth,black!80!black},
v2/.style={-stealth,very thick,yellow!65!black},
v4/.style={-stealth,very thick,purple!70!black}}
\node[cli] (0) at (5,3) {1*+2*+3*};
\node[cli] (1) at (9,2) {1*+1*+3*};
\node[cli] (2) at (3,2) {1*+2*+2*};
\node[cli] (3) at (1,2) {2*+3*};
\node[cli] (4) at (0,1) {2*+2*};
\node[cli] (5) at (4.7,0.5) {1*+3*};
\node[cli] (6) at (6.7,0.5) {1*+1*+2*};
\node[cli] (7) at (2,-0.5) {3*};
\node[cli] (8) at (3.5,-0.5) {1*+2*};
\node[cli] (9) at (1,-1.2) {2*};
\node[cli] (10) at (9,-0.5) {1*+1*+1*};
\node[cli] (13) at (6.5,-1.5) {1*+1*};
\node[cli] (11) at (5,-2.2) {1*};
\node[cli] (12) at (5,-3.2) {0*};
\draw[c1] (5) -- (8);
\draw[c1] (0) -- (1);
\draw[c1] (0) -- (2);
\draw[c1] (0) -- (3);
\draw[c1] (2) -- (4);
\draw[c1] (3) -- (4);
\draw[c1] (2) -- (6);
\draw[c1] (3) -- (6);
\draw[c1] (1) -- (5);
\draw[c1] (1) -- (6);
\draw[c1] (0) -- (8);
\draw[c1] (5) -- (7);
\draw[c1] (6) -- (8);
\draw[c1] (3) -- (7);
\draw[c1] (2) -- (8);
\draw[c1] (4) -- (8);
\draw[c1] (4) -- (9);
\draw[c1] (3) -- (9);
\draw[c1] (7) -- (9);
\draw[c1] (8) -- (9);
\draw[c1] (0) -- (6);
\draw[c1] (1) -- (10);
\draw[c1] (6) -- (10);
\draw[c1] (1) -- (13);
\draw[c1] (6) -- (13);
\draw[c1] (8) -- (13);
\draw[c1] (10) -- (13);
\draw[c1] (7) -- (11);
\draw[c1] (13) -- (11);
\draw[c1] (9) -- (11);
\draw[c1] (8) -- (11);
\draw[c1] (11) -- (12);
\draw[c1] (9) -- (12);
\draw[c1] (7) -- (12);
\draw[c1] (5) -- (13);
\draw[c1] (0) -- (5);
\draw[c1] (5) -- (11);
\draw[c1] (3) -- (5);
\draw[c1] (3) -- (8);
\end{tikzpicture}