Debian Codegraph @

texmf-dist/doc/latex/schule/Beispiele/bsp-pap.tikz

raw
1 \begin{tikzpicture}[pap]
2 \node[startstop] (s1){Los!};
3 \node[verzweigung, below = of s1] (v1) {Lieblingsfach Informatik?};
4 \node[unterprogramm, right = of v1] (up1) {\nodepart[text width=7em]{two} Pro\-gram\-mie\-re ein Spiel};
5 \node[aktion, below = of up1] (a1) {führe es aus!};
6 \node[einausgabe, below = of v1] (ea1) {ERROR 1337};
7 \node[startstop, below = of ea1] (e1){Ende};
8
9 \draw[linie] (s1)--(v1);
10 \draw[linie] (v1)--(up1) node[near start, above] {ja};
11 \draw[linie] (v1)--(ea1) node[near start, right] {nein};
12 \draw[linie] (up1)--(a1);
13
14 \draw[linie] (a1) |- ($(e1.north) + (0,0.5)$);
15 \draw[linie] (ea1)--(e1);
16 \end{tikzpicture}