如何缩放大图

如何缩放大图
\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

相关内容