Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Nagel
itt
Commits
ae9a8aef
Commit
ae9a8aef
authored
Feb 28, 2022
by
Lukas Nagel
Browse files
fixup: replace text with images
parent
e37707e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
grafiken/concept-overview.tex
0 → 100644
View file @
ae9a8aef
\documentclass
[border=0.5mm]
{
standalone
}
\input
{
theme
}
\input
{
versiongraph
}
\usetikzlibrary
{
backgrounds
}
\usetikzlibrary
{
shapes
}
\tikzstyle
{
box
}
=
%
[ branch
, draw=black!10
, font=
\large\tt
, fill=#1
, minimum width=2cm
, node distance=1cm
]
\tikzstyle
{
line
}
=
%
[ draw=nontext
, line width=1pt
]
\tikzstyle
{
trans
}
=
%
[ single arrow
, align=center
, fill=nontext
, text=text
, text width=#1
, anchor=west
]
\tikzstyle
{
snart
}
=
%
[ trans=#1
, shape border rotate=180
, anchor=east
]
\def\height
{
5cm
}
\def\calc
#1
{
\pgfmathparse
{
#1
}
\pgfmathresult
}
\begin{document}
\begin{tikzpicture}
%
[ draw=nontext
]
\node
[box=lightgreen]
(tree)
{
Tree
}
;
\node
[box=lightblue, right=of tree]
(indx)
{
Index
}
;
\node
[box=lightgreen, right=of indx]
(repo)
{
Repo
}
;
\draw
[line]
(tree.south) -- +(0,-
\height
);
\draw
[line]
(indx.south) -- +(0,-
\height
);
\draw
[line]
(repo.south) -- +(0,-
\height
);
\path
[->, nontext, line width=1pt]
([yshift=-0.75cm]tree.south) edge[bend left=100, distance=1cm] node[color=black, midway, right]
{
Änderungen
}
([yshift=-1.25cm]tree.south);
\node
[trans=2.51cm]
(test) at ([yshift=-2cm]tree.south)
{
add
}
;
\node
[trans=2.51cm]
(test) at ([yshift=-3cm]indx.south)
{
commit
}
;
\node
[snart=5.51cm]
(test) at ([yshift=-4cm]repo.south)
{
checkout
}
;
\end{tikzpicture}
\end{document}
grafiken/example-graph-hl-branch.tex
0 → 100644
View file @
ae9a8aef
\documentclass
{
standalone
}
\input
{
theme
}
\input
{
versiongraph
}
\tikzstyle
{
expl
}
=
%
[ rectangle
, rounded corners=6pt
, draw=black!50!green
, dotted
, text=nontext!50!black
, font=
\scriptsize\itshape
, fill=white!90!green
]
\tikzstyle
{
expledge
}
=
%
[ draw=lightgreen!50!black
, dotted
]
\begin{document}
\begin{tikzpicture}
%
[ versionsgraph
, every node/.append style=
{
fade
}
]
\commit
{
\rootcommit
}{
lightblue
}{}
;
\commit
[right=of \rootcommit, focus]
{
\pepcommit
}{
lightblue
}{
\rootcommit
}
;
\commit
[above right=of \pepcommit, focus]
{
\sortcommit
}{
lightred
}{
\pepcommit
}
;
\commit
[right=of \sortcommit]
{
\refactorcommit
}{
lightred
}{
\sortcommit
}
;
\commit
[right=of \pepcommit, focus]
{
\proofcommit
}{
lightblue
}{
\pepcommit
}
;
\commit
[right=of \proofcommit, xshift=1.2cm]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\branch
{
master
}{
\mergecommit
}
\branch
[remote, above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\message
{
\rootcommit
}{
initial
}
\message
{
\pepcommit
}{
pep8
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
\message
[above=of \refactorcommit]
{
\refactorcommit
}{
refactor
}
\message
{
\mergecommit
}{
merge alice/master into master
}
\message
{
\proofcommit
}{
create proof
}
\HEAD
{
master
}
\node
[expl, below left=0.3cm of presort]
(expl message)
{
commit Beschreibung
}
;
\node
[expl, above=0.3cm of \rootcommit, xshift=-0.8cm]
(expl root)
{
root commit
}
;
\node
[expl, above=0.3cm of \pepcommit, xshift=-0.8cm]
(expl commit)
{
commit
}
;
\node
[expl, above right=0.3cm of alice/master]
(expl remote)
{
remote branch
}
;
\node
[expl, above right=0.3cm of master]
(expl branch)
{
local branch
}
;
\node
[expl, above right=0.3cm of \mergecommit]
(expl merge)
{
merge commit
}
;
\draw
[expledge]
(expl message) edge[in=180, out=90] (presort);
\draw
[expledge]
(expl commit) edge[in=135, out=270] (
\pepcommit
);
\draw
[expledge]
(expl root) edge[in=135, out=270] (
\rootcommit
);
\draw
[expledge]
(expl branch) edge[in=0, out=270] (master);
\draw
[expledge]
(expl remote) edge[in=0, out=270] (alice/master);
\draw
[expledge]
(expl merge) edge[in=0, out=270] (
\mergecommit
);
\end{tikzpicture}
\end{document}
grafiken/example-graph-hl-merge.tex
0 → 100644
View file @
ae9a8aef
\documentclass
{
standalone
}
\input
{
theme
}
\input
{
versiongraph
}
\tikzstyle
{
expl
}
=
%
[ rectangle
, rounded corners=6pt
, draw=black!50!green
, dotted
, text=nontext!50!black
, font=
\scriptsize\itshape
, fill=white!90!green
]
\tikzstyle
{
expledge
}
=
%
[ draw=lightgreen!50!black
, dotted
]
\begin{document}
\begin{tikzpicture}
%
[ versionsgraph
, every node/.append style=
{
fade
}
]
\commit
{
\rootcommit
}{
lightblue
}{}
;
\commit
[right=of \rootcommit]
{
\pepcommit
}{
lightblue
}{
\rootcommit
}
;
\commit
[above right=of \pepcommit]
{
\sortcommit
}{
lightred
}{
\pepcommit
}
;
\commit
[right=of \sortcommit, focus]
{
\refactorcommit
}{
lightred
}{
\sortcommit
}
;
\commit
[right=of \pepcommit, focus]
{
\proofcommit
}{
lightblue
}{
\pepcommit
}
;
\commit
[right=of \proofcommit, xshift=1.2cm, focus]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\branch
{
master
}{
\mergecommit
}
\branch
[remote, above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\message
{
\rootcommit
}{
initial
}
\message
{
\pepcommit
}{
pep8
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
\message
[above=of \refactorcommit]
{
\refactorcommit
}{
refactor
}
\message
{
\mergecommit
}{
merge alice/master into master
}
\message
{
\proofcommit
}{
create proof
}
\HEAD
{
master
}
\node
[expl, below left=0.3cm of presort]
(expl message)
{
commit Beschreibung
}
;
\node
[expl, above=0.3cm of \rootcommit, xshift=-0.8cm]
(expl root)
{
root commit
}
;
\node
[expl, above=0.3cm of \pepcommit, xshift=-0.8cm]
(expl commit)
{
commit
}
;
\node
[expl, above right=0.3cm of alice/master]
(expl remote)
{
remote branch
}
;
\node
[expl, above right=0.3cm of master]
(expl branch)
{
local branch
}
;
\node
[expl, above right=0.3cm of \mergecommit]
(expl merge)
{
merge commit
}
;
\draw
[expledge]
(expl message) edge[in=180, out=90] (presort);
\draw
[expledge]
(expl commit) edge[in=135, out=270] (
\pepcommit
);
\draw
[expledge]
(expl root) edge[in=135, out=270] (
\rootcommit
);
\draw
[expledge]
(expl branch) edge[in=0, out=270] (master);
\draw
[expledge]
(expl remote) edge[in=0, out=270] (alice/master);
\draw
[expledge]
(expl merge) edge[in=0, out=270] (
\mergecommit
);
\end{tikzpicture}
\end{document}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment