I am a beginner in LaTeX, tentatively trying to use it for industrial documents. I am trying to show graphically some of the drawbacks (vs LaTeX) of a solution using a professional publishing software. These tools are expensive and complicated to learn, therefore typically restricted to a single station and operator, while a pool of "writers" submit their drafts, receive them edited, require correction, etc: a very slow and inefficient process (due to the number of iterations) where bottlenecks and frustration are virtually permanent.
- Borrowing someone else's code and modifying it, I have come up with a diagram. However I did not find any way to separate all the lines reaching the edition station. (the black ones overlap the blue ones, etc)
- Moreover, I welcome any tip to make the illustration convey the idea of the "numerous iterations" and "bottleneck" as efficiently as possible.
- Any tip to make the diagram more attractive visually is welcome also, as this one is not yet very satisfactory.
\documentclass[11pt]{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{matrix}
\begin{document}
\begin{figure}[H]
\begin{tikzpicture}[>=latex, scale =1]
\node[draw,rectangle,inner sep=0.5cm] (y) at (0,6) {Writer 1};
\node[draw,rectangle,inner sep=0.5cm] (k) at (0,0) {Writer 2};
\node[draw,rectangle,inner sep=0.5cm] (p) at (0,-2) {Writer 3};
\matrix[matrix of nodes,nodes in empty cells,rectangle,draw] (d) at (0,3)
{
& & & & \\[3 mm]
& &EDITING & &\\[3 mm]
& &STATION & & \\[3 mm]
& & & & \\[3 mm]
& & & & \\[3 mm]
};
\foreach \z in {1,...,5}
{
\draw[<-<, color=red!70, thick] let \n1={\z * -2 mm -10mm} in
(y.west) -| ([xshift=\n1] d.west |- y.west) |- (d.west |- d-\z-\z.south);
\draw[<-<,color=red!70, thick] let \n1={\z * 2mm + 5 mm} in
(d.east |- d-\z-\z.east) -| ([xshift=\n1] d.east |- y.east) |- (y.east);
}
\foreach \z in {1,...,5}
{
\draw[>->, color=blue!70,thick] let \n1={\z * -2mm - 6 mm} in
(k.west) -| ([xshift=\n1] d.west |- k.west) |- (d.west |- d-\z-\z.north);
\draw[>->,color=blue!70,thick] let \n1={\z * 2 mm + 2mm} in
(d.east |- d-\z-\z.south) -| ([xshift=\n1] d.east |- k.east) |- (k.east);
}
\foreach \z in {1,...,5}
{
\draw[>->, color=black!70,thick] let \n1={\z * -2mm - 2 mm} in
(p.west) -| ([xshift=\n1] d.west |- p.west) |- (d.west |- d-\z-\z.west);
\draw[>->,color=black!70,thick] let \n1={\z * 2 mm + 0mm} in
(d.east |- d-\z-\z.south) -| ([xshift=\n1] d.east |- p.east) |- (p.east);
}
\end{tikzpicture}
\caption{Centralized document editing station and associated flux of corrections}
\end{figure}
\end{document}


\pgfmathsetmacroinstead of\n1and\n2but it's not sure – Alain Matthes May 25 '12 at 07:31<-rather than<-<to avoid crowding the diagram. – yannisl May 25 '12 at 07:49<-<doen't give more information. – Alain Matthes May 25 '12 at 07:52