codex-latex-experiments/trees1.tex

17 lines
590 B
TeX
Raw Normal View History

2021-11-27 01:25:46 +00:00
\documentclass[border=0.3cm]{standalone}
2021-11-27 00:58:41 +00:00
\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]
\begin{document}
\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);
2021-11-27 01:25:46 +00:00
\draw [arrow] (start) -| (other);
\draw [arrow] (other) -- (stop);
2021-11-27 00:58:41 +00:00
\end{tikzpicture}
\end{document}