I have the following diagram, but I would like to make its length a bit shorter. I tried to use \Scale, but did not work. Any advice would be useful.
\begin{equation}
\begin{tikzcd}[every arrow/.append style={-latex}]
\cdots\arrow{r}
&A
\arrow{rr}{d}
\arrow{dr}{g}
&
&B
\arrow{dr}{g}
\arrow{rr}{d}
&
&C
\arrow{r}
\arrow{dr}{}
&\cdots\\
D
\arrow{ur}{}
&
&E
\arrow{ur}{f}
\arrow[dashed]{ll}
&
&F
\arrow[dashed]{ll}
\arrow{ur}{f}
&
&G
\arrow[dashed]{ll}
\end{tikzcd}
\end{equation}

equation*then it still works. Maybe something else caused the error. (I will delete the previous comment so that it will not mislead others. Thanks for your replying!) – Asigan Dec 06 '23 at 11:01