I have done a tikzpicture witch is a matrix with nodes :
Code: Select all
\begin{figure}[h]
\centering
\begin{tikzpicture}
[auto,
decision/.style={diamond, draw=blue, thick, fill=blue!20,
text width=4.5em, text badly centered,
inner sep=1pt},
block/.style ={rectangle, draw=blue, thick, fill=blue!20,
text width=5em, text centered, rounded corners,
minimum height=4em},
line/.style ={draw, thick,shorten >=2pt},
cloud/.style ={draw=red, thick, ellipse,fill=red!20,
minimum height=2em}]
\matrix [column sep=5mm,row sep=7mm]
{
% row 1
& \node [decision] (spatial) {bla}; & \\
% row 3
\node [cloud] (S) {bla}; &
\node [decision] (temporel1) {bla}; &
\node [decision] (temporel2) {bla}; & \\
% row 4
& \node [cloud] (ST) {$a~\rho_{st}~b$}; &
\node [cloud] (T) {bla}; &
\node [cloud] (NSTT) {bla}; \\
};
\begin{scope}[every path/.style=line]
\path (spatial) -- (temporel1);
\path [|-] (spatial) -| (temporel2);
\path [-|] (S) -- (temporel1);
\path (temporel1) -- (ST);
\path [|-] (temporel2) -| (NSTT);
\end{scope}
\end{tikzpicture}
\caption{bla bla}
\label{bla}
\end{figure}
Do you have an idea ?
Thanks a lot,
remark
set up need :
Code: Select all
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{shapes,matrix}