How can I draw picture like this in Latex?
Any pointers welcome.
You can do something similar with the tikz package using tikzstyle to define how you want things to look.
Add to your preamble:
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{block} = [rectangle, rounded corners, minimum width=3cm,
minimum height=1cm,text centered, draw=red, fill=white]
\tikzstyle{arrow} = [thick,->,>=stealth]
The third line defines the shape of our blocks. The fourth line defines the shape of our arrows.
To draw a diagram:
\begin{tikzpicture}[node distance=2cm]
\node (start) [block] {Start};
\node (stop) [block, below of=start] {Stop};
\node (other) [block, right of=stop, xshift=2cm] {Other};
\draw [arrow] (start) -- (stop);
\draw [arrow] (start) -- (other);
\end{tikzpicture}
A node works like this:
\node (label) [style] {Text};
The label gives you a way to refer to it, such as when you are drawing arrows. The style comes from the tikzstyle that you defined in your preamble, and the Text is the actual text you want to appear in your box. (Don't forget the closing semicolon.)
This will give you:
Edit: There are other examples here.
forestpackage. Its documentation contain examples with similar trees. – Zarko Nov 09 '21 at 20:38