-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathref-final.tex
More file actions
29 lines (25 loc) · 734 Bytes
/
Copy pathref-final.tex
File metadata and controls
29 lines (25 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\documentclass[preview]{standalone}
\usepackage{gitdags}
\tikzgraphsset{%
nudge/.style={/tikz/shift={#1}},
nudge down/.style={nudge=(270:#1)},
nudge down/.default=1
}
%\usepackage{fontspec}
%\setmainfont[ExternalLocation=/Users/othree/tmp-projects/git-graph/]{"EVA-Matisse_Standard.ttf"}
\begin{document}
\centering
\begin{tikzpicture}
% Commit DAG
\gitDAG[grow right sep = 2em]{
8f17c26 -- 24948c2 -- 803667e -- 4a2be0c -- 1162f81
};
\gitbranch
{master} % node name and text
{below=of 1162f81} % node placement
{1162f81} % target
\gitHEAD
{below=of master} % node placement
{master}
\end{tikzpicture}
\end{document}