Updated git-graph.png

This commit is contained in:
Tobias Manske 2021-04-17 02:35:29 +02:00
parent f6f47c4705
commit 13b899e1ed
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
2 changed files with 10 additions and 5 deletions

View File

@ -3,12 +3,17 @@
\usepackage{url} \usepackage{url}
\usepackage{tikz} \usepackage{tikz}
\usepackage{color} \usepackage{color}
\definecolor{dcolor}{rgb}{0.68, 0.05, 0.0} \definecolor{dcolor}{rgb}{0,0,0}
% \definecolor{dcolor}{rgb}{0.68, 0.05, 0.0}
\definecolor{blizzardblue}{rgb}{0.67,0.9,0.93}
\usetikzlibrary{backgrounds}
\begin{document} \begin{document}
\begin{tikzpicture}[draw=dcolor, text=dcolor] \begin{tikzpicture}[draw=dcolor, text=dcolor,background rectangle/.style={fill=white}, show background rectangle]
\usetikzlibrary{shapes} \usetikzlibrary{shapes}
\usetikzlibrary{fit} \usetikzlibrary{fit}
\usetikzlibrary{automata, arrows.meta, positioning} \usetikzlibrary{automata, arrows.meta, positioning}
@ -30,11 +35,11 @@
\node[roundnode, below=of bbc] (bbd) {1849c76}; \node[roundnode, below=of bbc] (bbd) {1849c76};
\draw[->] (bbc) edge (bbb); \draw[->] (bbc) edge (bbb);
\draw[->] (bbd) edge (bbc); \draw[->] (bbd) edge (bbc);
\node[rectangle, dashed, draw=dcolor, right=.1cm of b, yshift=-1cm] (H) {\scriptsize HEAD}; \node[rectangle,fill=blizzardblue, draw=dcolor, right=.1cm of b, yshift=-1cm] (H) {\scriptsize HEAD};
\draw[->] (H) edge (b); \draw[->] (H) edge (b);
\node[rectangle, dashed, draw=dcolor, right=.1cm of bc, yshift=-1cm] (bH) {\scriptsize HEAD}; \node[rectangle,fill=blizzardblue, draw=dcolor, right=.1cm of bc, yshift=-1cm] (bH) {\scriptsize HEAD};
\draw[->] (bH) edge (bc); \draw[->] (bH) edge (bc);
\node[rectangle, dashed, draw=dcolor, right=.1cm of bbd, yshift=-1cm] (bbH) {\scriptsize HEAD}; \node[rectangle,fill=blizzardblue, draw=dcolor, right=.1cm of bbd, yshift=-1cm] (bbH) {\scriptsize HEAD};
\draw[->] (bbH) edge (bbd); \draw[->] (bbH) edge (bbd);
\draw[->, dashed] (a) edge node[above] {\tiny git commit} (b); \draw[->, dashed] (a) edge node[above] {\tiny git commit} (b);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 55 KiB