diff --git a/latex/git-graph.tex b/latex/git-graph.tex index a0634f6..91e2d87 100644 --- a/latex/git-graph.tex +++ b/latex/git-graph.tex @@ -3,12 +3,17 @@ \usepackage{url} \usepackage{tikz} \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{tikzpicture}[draw=dcolor, text=dcolor] +\begin{tikzpicture}[draw=dcolor, text=dcolor,background rectangle/.style={fill=white}, show background rectangle] \usetikzlibrary{shapes} \usetikzlibrary{fit} \usetikzlibrary{automata, arrows.meta, positioning} @@ -30,11 +35,11 @@ \node[roundnode, below=of bbc] (bbd) {1849c76}; \draw[->] (bbc) edge (bbb); \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); - \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); - \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[->, dashed] (a) edge node[above] {\tiny git commit} (b); diff --git a/static/images/git-graph.png b/static/images/git-graph.png index 3929ee8..5ca660a 100644 Binary files a/static/images/git-graph.png and b/static/images/git-graph.png differ