Commit db5ab3cc authored by Romain Maliach-Auguste's avatar Romain Maliach-Auguste 🌵

Correction de l'affichage de l'arbre des commandes git flow

parent 5610d4c4
Pipeline #33680 passed with stage
in 29 seconds
\begin{tikzpicture} \begin{tikzpicture}[thick,scale=0.4, every node/.style={transform shape}]
\node {git flow} [grow=right] % argument 1 : flow
child {node {init}} \node at (5,-6.5) [font=\sffamily] {\Huge git flow};
child {node[draw] (ex1){\begin{tabular}{c}
feature \\ % argument 2
release \\
hotfix \\ % feature/release/hotfix
\end{tabular}} \filldraw [fill=white, draw=black, thick] (10,-3) rectangle (14,-4);
child {node [draw](ex2){\begin{tabular}{c} \filldraw [fill=white, draw=black, thick] (10,-4) rectangle (14,-5);
start \\ \filldraw [fill=white, draw=black, thick] (10,-5) rectangle (14,-6);
finish\\ \node at (11.5,-3.5) [font=\sffamily] {\Huge feature};
publish\\ \node at (11.5,-4.5) [font=\sffamily] {\Huge release};
pull\\ \node at (11.5,-5.5) [font=\sffamily] {\Huge hotfix};
\end{tabular}}} % init
} \node at (11.5,-7.5) [font=\sffamily] {\Huge init};
;
\end{tikzpicture} % argument 3 : start/finish/publish/pull
\filldraw [fill=white, draw=black, thick] (16,-3) rectangle (20,-4);
\filldraw [fill=white, draw=black, thick] (16,-4) rectangle (20,-5);
\filldraw [fill=white, draw=black, thick] (16,-5) rectangle (20,-6);
\filldraw [fill=white, draw=black, thick] (16,-6) rectangle (20,-7);
\node at (17.5,-3.5) [font=\sffamily] {\Huge start};
\node at (17.5,-4.5) [font=\sffamily] {\Huge finish};
\node at (17.5,-5.5) [font=\sffamily] {\Huge publish};
\node at (17.5,-6.5) [font=\sffamily] {\Huge pull};
% argument 4 : name
\node at (22,-4.5) [font=\sffamily] {\Huge name};
% lignes
\draw [thick] (6.5,-6.5) -- (10,-4.5);
\draw [thick] (6.5,-6.5) -- (10,-7.5);
\draw [thick] (14,-4.5) -- (16,-4.5);
\draw [thick] (20,-4.5) -- (21,-4.5);
\end{tikzpicture}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment