Graphics, Figures & Tableshelp to draw my figure with flowchart

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hicham
Posts: 12
Joined: Mon Mar 13, 2017 3:33 pm

help to draw my figure with flowchart

Post by hicham »

Hello Latex community,

Please I want drawing my figure (in attched email) for an presentation. I need yours help to do this task.

you find in attached my figure.

thanks a lot.
Attachments
Figure with Flowchart.pdf
(69.99 KiB) Downloaded 168 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

help to draw my figure with flowchart

Post by Stefan Kottwitz »

Hi Hicham,

welcome to the forum!

We gladly help, we are just not a drawing service. ;-) It's your presentation, so you may work on drawing it and we can help in case of questions or problems.

Anyway, I had some free minutes that I spent on making a sample drawing coming close to the picture.

Code: Select all

\documentclass[border=20pt,svgnames]{standalone} 
\usepackage{tikz}
\usetikzlibrary{matrix,calc,shapes,positioning,arrows,shadows}
\tikzset{
  cell/.style      = { rectangle, draw = none, minimum width = 16ex,
                       minimum height = 3.2ex,%
                       inner sep=0pt, outer sep=0pt,
                       execute at begin node = {\strut}
                     },
  roundrect/.style = { draw, rounded corners, fill = blue!20, inner sep = 2ex},
  rect/.style      = { draw, drop shadow, fill = blue!20, inner sep = 2ex},
  header/.style    = { cell, fill = DarkBlue!50},
  row1/.style      = { cell, fill = Blue!40},
  row2/.style      = { cell, fill = Blue!20},
  table/.style     = {
    matrix of nodes,
    column sep      = 0.2ex,
    row sep         = 0.2ex,
    row 1/.style = {nodes={header}},
    row 2/.style = {nodes={row1}},
    row 3/.style = {nodes={row2}},
    row 4/.style = {nodes={row1}},
     row 5/.style = {nodes={row2}},
    row 6/.style = {nodes={row1}},
  },
}
\begin{document}
\begin{tikzpicture}
  \node [rect] (start) {W1 W2 W3 \ldots Wp};
  \node [roundrect, below = 1 of start] (proc) {Processus de correction};
  \matrix (table1) [table, below left = 5 and 1 of proc] {
      \strut Solutions & Metrique \\
      Solutions1 & m1 \\
      Solutions2 & m2 \\
      Solutions3 & m3 \\
      Solutionsm & m4 \\
      Solutionsn & m5 \\
  };
  \node [above = 1 of table1,
    cylinder,draw=black,thick, dashed,
    aspect=0.2,
    minimum height=1.7cm,
    minimum width=1.5cm,
    shape border rotate=90,
    cylinder uses custom fill,
    cylinder body fill=red!40,
    cylinder end  fill=red!20]
    (guide) {Guidée par lexique};
  \matrix (table2) [table, below right = 5 and 1 of proc] {
    Solutions & Metrique \\
    Solutionsi & p1 \\
    Solutionsm & p2 \\
    Solutionsi & p3 \\
    Solutionsn & p4 \\
    Solutions2 & p5 \\
  };
  \node [rect, above = 1.6 of table2] (W) {W1 W2 W3 \ldots Wp };
  \matrix (table3) [table, below = 9 of proc] {
      Solutions & Measures \\
      Solutionsk & m1 \\
      Solutionsi & m2 \\
      Solutions2 & m3 \\
      Solutions3 & m4 \\
      Solutions1 & m5 \\
  };
  \draw [-stealth, thick] (start) -- (proc);
  \draw [-stealth, thick] (proc) to [out = 270, in = 90, looseness = 1] (guide);
  \draw [-stealth, thick] (proc) to [out = 270, in = 90, looseness = 1] (W);
  \draw [-stealth, thick] (guide) -- (table1);
  \draw [-stealth, thick] (W)     -- (table2);
  \draw [dashed, thick, -stealth] (table1) -- ++ (0,-4) |- (table3);
  \draw [dashed, thick, -stealth] (table2) -- ++ (0,-4) |- (table3);
  \draw [dashed, thick, -stealth] (table1) -- ++ (-4,0) -- ++ (0,8) |- (start);
\end{tikzpicture}
\end{document}
flowchart.png
flowchart.png (31.93 KiB) Viewed 3055 times
Stefan
LaTeX.org admin
hicham
Posts: 12
Joined: Mon Mar 13, 2017 3:33 pm

help to draw my figure with flowchart

Post by hicham »

Hi Mr Stefan;

Realy, I do not know how to thank you Mr Stefan. I'm in a hurry for an emergency presentation.

Sincerely please accept my warm greetings.
Post Reply