如何画流程图
\begin{tikzpicture}[node distance=10pt]
\node[draw, rounded corners] (start) {Input data};
\node[draw, below=of start] (step 1) {Step 1};
\node[draw, below=of step 1] (step 2) {Step 2};
\node[draw, diamond, aspect=2, below=of step 2] (choice) {Choice};
\node[draw, rounded corners, below=20pt of choice] (end) {End};
\draw[->] (start) -- (step 1);
\draw[->] (step 1) -- (step 2);
\draw[->] (step 2) -- (choice);
\end{tikzpicture}