1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| \usetikzlibrary{arrows}
\usetikzlibrary{decorations.pathreplacing}
% Define block styles
\tikzstyle{decision} = [diamond, draw, fill=blue!20,
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=blue!20,
text width=2em, text centered, rounded corners, minimum height=4em]
\tikzstyle{line} = [draw, -latex']
%\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
% minimum height=2em]
\begin{tikzpicture}[scale=0.7, node distance = 2.0cm, auto]
\node [block] (problem) {实\\ 际\\ 问\\ 题};
\node [block, right of=problem] (model) {数\\ 学\\ 模\\ 型};
\path [line] (problem) -- (model);
\node [block, right of=model] (method) {数值计算方法};
\path [line] (model) -- (method);
\node [block, right of=method] (prog) {程\\ 序\\ 设\\ 计};
\path [line] (method) -- (prog);
\node [block, right of=prog] (comp) {上\\ 机\\ 求\\ 解};
\path [line] (prog) -- (comp);
\draw[decorate, decoration={brace, mirror}, very thick, blue] (0,-2) -- (3,-2);
\draw (1.5,-2.8) node {应用数学};
\draw[decorate, decoration={brace, mirror}, very thick, blue] (5.5,-2) -- (11.5,-2);
\draw (8.5,-2.8) node {计算数学};
\end{tikzpicture} |