![如何缩放大图](https://linux22.com/image/448489/%E5%A6%82%E4%BD%95%E7%BC%A9%E6%94%BE%E5%A4%A7%E5%9B%BE.png)
\begin{figure}[H]
\begin{tikzpicture}[->, node distance = 2cm]
\node[initial,state](A) {enter};
\node[state] (B) [below of=A]{1};
\node[state] (C) [below of=B]{2};
\node[state] (D) [right of=C] {i};
\node[state] (E) [right of=D] {4};
\node[state] (F) [above of=E] {5};
\node[state] (G) [right of=F] {6 };
\node[state] (H) [below of=G] {7};
\node[state] (I) [below of=H] {8};
\node[state, label=below:$s a w$] (J) [right of=I] { };
答案1
使用node distance
和时right of
很难缩放图片。对我来说,有两种糟糕的解决方案,resizebox
一种是缩放所有内容,transform shape
另一种是给出相同的结果。一种可能性是修改 node distance = 2cm
。