diff options
author | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-09-21 16:33:51 +0200 |
---|---|---|
committer | Jan Aalmoes <jan.aalmoes@inria.fr> | 2024-09-21 16:33:51 +0200 |
commit | b8504c330be30ccf771d6745a34f395a83395ea5 (patch) | |
tree | 9bbd9285d530381e3e743266fbf62be35df3a7c8 /synthetic/figure/tikz/data_flow/step1.tex | |
parent | 00ec61946ddf3a7c2abf7d7e0730fc8e21b50f37 (diff) | |
parent | 06c724f61e746772dc46aaf7e11c96abc1a49dd1 (diff) |
merge with brouillon
Diffstat (limited to 'synthetic/figure/tikz/data_flow/step1.tex')
-rw-r--r-- | synthetic/figure/tikz/data_flow/step1.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/synthetic/figure/tikz/data_flow/step1.tex b/synthetic/figure/tikz/data_flow/step1.tex new file mode 100644 index 0000000..739163f --- /dev/null +++ b/synthetic/figure/tikz/data_flow/step1.tex @@ -0,0 +1,30 @@ +\input{figure/tikz/data} + +\begin{tikzpicture} +\node[database,label=left:$D$] (d) at (0,0){}; +\node[database,label=left:$D_{\text{Train}}$] (train) at (0,-2){}; +\node[database,label=right:$D_{\text{Ttest}}$] (test) at (2,0){}; + +\draw[->] (d) to (train); +\draw[->] (d) to (test); + +\def \p {-2} %Bloc position +\def \s {1} %spacing +\node[rectangle,draw] (g1) at (2,\p+\s) {Generator 1}; +\node[rectangle,draw] (g2) at (2,\p) {Generator 2}; +\node[rectangle,draw] (g3) at (2,\p-\s) {Generator 3}; + +\draw[->] (train) to (g1); +\draw[->] (train) to (g2); +\draw[->] (train) to (g3); + +\node[database,label=right:$S_{1}$] (s1) at (4,\p+\s){}; +\node[database,label=right:$S_{2}$] (s2) at (4,\p){}; +\node[database,label=right:$S_{3}$] (s3) at (4,\p-\s){}; + +\draw[->] (g1) to (s1); +\draw[->] (g2) to (s2); +\draw[->] (g3) to (s3); + + +\end{tikzpicture} |