مشکل کد فلوچارت نوشته شده با بسته tikz را رفع کردم. کد اصلاح شده را برای استفاده سایر دوستان در سایت قرار می دهم.
% ---------------------------------------
% draw flowchart 1
% ---------------------------------------
\begin{figure}
\centering
% -----------------------------
% The tikzstyle command
% -----------------------------
\begin{tikzpicture}
[auto,
decision/.style={diamond, draw=white, thick, fill=blue!20,
text width=4.5em,align=flush center,
inner sep=1pt},
block/.style ={rectangle, draw=black, thick, fill=yellow!20,
text width=6em,align=center, rounded corners,
minimum height=2em},
line/.style ={draw, thick, -latex',shorten >=2pt},
cloud/.style ={draw=red, thick, ellipse,fill=red!20,
minimum height=2em}]
% --------
% Nodes
% --------
\matrix [column sep=5mm,row sep=7mm]
{
% row 1
%\node [cloud] (expert) {expert}; &
\node [block] (1) {input signal};\\
%\node [block] (1) {input signal};\\
%\node [cloud] (system) {system}; \\
% row 2
\node [block] (2) {decomposition filter using DbN wavelet}; \\
% row 3
%\node [block] (update) {update model}; &
\node [block] (3) {reconstruction filter}; \\
% row 4
\node [block] (4) {decomposition filter using DbN wavelet}; \\
\node [block] (5) {extract details cofficient at n level from wavelet}; \\
% row 5
%& \node [decision] (decide) {is best candidate}; & \\
% row 6
\node [block] (6) {show results}; & \\
};
% --------
% Arrows
% --------
\begin{scope}[every path/.style=line]
\path (1) -- (2);
\path (2) -- (3);
\path (3) -- (4);
\path (4) -- (5);
\path (5) -- (6);
%\path (evaluate) -- (decide);
%\path (update) |- (identify);
%\path (decide) -| node [near start] {yes} (update);
%\path (decide) -- node [midway] {no} (stop);
%\path [dashed] (expert) -- (init);
%\path [dashed] (system) -- (init);
%\path [dashed] (system) |- (evaluate);
\end{scope}
\end{tikzpicture}
\caption{تبدیل موجک}
\label{tikz-1}
\end{figure}
% ---------------------------------------