SPB Git

Repository Public MIT Research preview

S12-F01-arbre-orchestration.tex 3.6 KB 48 lines latex

1% S12-F01 — L'arbre de délégation : un orchestrateur, trois exécutants spécialisés, des branches en2% parallèle et une fusion (figure phare 18). Idée : ce qui circule, ce sont des messages (contrat à3% l'aller, résultat au retour) ; ce qui est partagé est nommé, avec la permission de chacun : le dossier4% (lecture seule, recherche seulement) et le bilan (un seul rôle l'écrit). Rien d'autre n'est partagé.5\begin{tikzpicture}[x=1mm, y=1mm]6  % ---------- Colonne de gauche : objectif, orchestrateur, sorties ----------7  \node[atlas block, text width=25mm, minimum height=8mm] (obj) at (15.5,47) {\textbf{Objectif}, fixé par une personne};8  \node[atlas block strong, text width=25mm, minimum height=19mm] (orc) at (15.5,26)9    {\textbf{Orchestrateur}\\ décompose, confie,\\ agrège, décide};10  \node[atlas block valid, text width=25mm, minimum height=8mm] (fin) at (15.5,5) {\textbf{Réponses finales}\\ et bilan};11  \draw[atlas arrow] (obj) -- (orc);12  \draw[atlas arrow valid] (orc) -- (fin);13  \node[atlas note, anchor=east] at (14,13.2) {seul à écrire};14  \path (2,0) -- (2,1);15  % ---------- Les trois exécutants (piles : plusieurs tâches en parallèle) ----------16  \foreach \nom/\y/\titre/\sous in {rec/44/Recherche/possède : les passages, ana/26/Analyse/possède : la réponse, rev/8/Révision/possède : le verdict}{17    \draw[atlasRule, fill=atlasPanel, line width=.7pt, rounded corners=2.2pt] (72.6,\y-3.6) rectangle ++(27,10.2);18    \draw[atlasRule, fill=atlasPanel, line width=.7pt, rounded corners=2.2pt] (71.3,\y-4.4) rectangle ++(27,10.2);19    \node[atlas block flow, text width=23mm, minimum height=10.2mm] (\nom) at (83.5,\y) {\textbf{\titre}\\ {\AtlasSizeTiny\color{atlasMuted}\sous}};20  }21  % ---------- Messages : contrat à l'aller, résultat au retour ----------22  \draw[atlas arrow] (30.6,31.5) -- (40,31.5) |- (70,45.6);23  \draw[atlas arrow valid] (70,42.4) -| (43.6,29.5) -- (30.6,29.5);24  \draw[atlas arrow] (30.6,27.1) -- (70,27.1);25  \draw[atlas arrow valid] (70,24.9) -- (30.6,24.9);26  \draw[atlas arrow] (30.6,22.5) -- (43.6,22.5) |- (70,9.6);27  \draw[atlas arrow valid] (70,6.4) -| (40,20.5) -- (30.6,20.5);28  \node[atlas note, anchor=south west] at (45,45.8) {contrat + question};29  \node[atlas note, anchor=north west, text=atlasFg] at (45,42.2) {passages + statut};30  \node[atlas note, anchor=south west] at (45,27.3) {contrat + passages};31  \node[atlas note, anchor=north west, text=atlasFg] at (45,24.7) {réponse + sources};32  \node[atlas note, anchor=south west] at (45,9.8) {contrat + réponse};33  \node[atlas note, anchor=north west, text=atlasFg] at (45,6.2) {verdict motivé};34  \node[atlas step] at (35.6,39.6) {1};35  \node[atlas step] at (35.6,12.4) {2};36  \node[atlas note, anchor=east, text=atlasFg] at (32.6,39.6) {confier};37  \node[atlas note, anchor=east, text=atlasFg] at (32.6,12.4) {fusionner};38  % ---------- Ce qui est partagé, et avec quelle permission ----------39  \node[atlas store, minimum width=17mm, minimum height=10mm] (dos) at (128.5,44) {\textbf{Dossier}};40  \draw[atlas arrow muted] (dos.west) -- (100.6,44);41  \node[atlas note, anchor=south, text=atlasFg] at (110.4,44.6) {lecture seule};42  \draw[atlas boundary] (105.5,35.6) -- (140,35.6);43  \node[atlas tag=atlasHazard, anchor=north east] at (140,33.6) {FRONTIÈRE : AUCUN ACCÈS};44  \node[atlas note, anchor=north west, align=left, text width=35mm] at (104.5,26.5)45    {Analyse et révision ne voient que leurs messages.\\[1.2mm] Chaque exécutant a son propre contexte : rien d'autre n'est partagé.};46  \node[atlas tag=atlasMuted, anchor=south east] at (140,.2) {piles : plusieurs tâches à la fois};47\end{tikzpicture}48
Files main
Menu

Theme