summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikzcodeblocks/examples/bsp-english.tikz
blob: c6222274f899e2a49ba8e09d0d99cffe13a4140b (plain)
1
2
3
4
5
6
7
8
9
10
\begin{otherlanguage}{english}
\begin{tikzpicture}[codeblocks]
\moveindent{
	\node[start,pinlow](one){start};
	}
	\ifthenelseblocks[under={one}{1}{0}]{A=B}{\node{A++};}{\node{B-{}-};}{two}
	\loopblocks[under={two}{0}{0}]{for}{A!=B}{\node{A-{}-};}{three}
	\node[under={three}{0}{0},aktion,pinhigh]{\intbox{3}+\intbox[puzzlepiece]{5}};
\end{tikzpicture}
\end{otherlanguage}