I have a slide with some text and I want to add a tree under them.
The pause for each node is really not important but if possible, it will be much better. and is there possible to change forest size?
I tried this code but tree exceed the page size:
\documentclass{beamer}
\usepackage{forest}
\usetikzlibrary{arrows.meta}
\usepackage{lipsum}
\begin{document}
\begin{frame}[fragile]{Introduction}
\begin{itemize}
\setlength\itemsep{1em}
\item \lipsum[1][1-5]
\item \lipsum[1][1-5]
\end{itemize}
\begin{figure}
\begin{forest}
for tree = {
circle,
draw,
edge = {-Straight Barb, semithick},
l sep=8mm,
s sep=15mm,
minimum size = 3em,
EL/.style 2 args = {edge label={%
node[midway, font=\footnotesize, align=center,
inner sep=2pt, anchor=south #1]{#2}},
},
}
[Outlook,
[Humidity, EL={east}{sunny}
[Play, EL={east}{H $\leq$ 75}]
[Don't play, EL={west}{H > 75}]
]
[Play, EL={east}{Overcast}]
[Wind, EL={west}{Raining}
[Play, EL={east}{weak}]
[Don't play, EL={west}{strong}]
]
]
\end{forest}
\end{figure}
\end{frame}
\end{document}


\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for the users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – samcarter_is_at_topanswers.xyz Dec 03 '23 at 11:20overlay-beamer-stylestikz library to uncover nodes step-by-step – samcarter_is_at_topanswers.xyz Dec 03 '23 at 11:21scaleboxas the top ranking answer to the earlier question does. The lower ranked answer is much better. Alternatively, look at options for tikz scaling. – cfr Dec 03 '23 at 23:28