Commit 1cd8a3eb authored by Lukas Nagel's avatar Lukas Nagel
Browse files

add Workflow Section to ProjectGraph

parent 8a8cb306
Pipeline #139335 failed with stages
in 2 minutes and 4 seconds
......@@ -34,7 +34,7 @@
, node distance=2cm
}
, neutral/.append style=
{ fill=green!40
{ fill=red!40
}
, vcs/.append style=
{ fill=purple!40
......@@ -43,7 +43,13 @@
{ fill=orange!40
}
, wf/.append style=
{ fill=red!40
{ fill=green!40
}
, gh/.append style=
{ fill=blue!40
}
, cmd/.append style=
{ font=\tt
}
]
......@@ -59,9 +65,6 @@
\node[concept, vcs, below left=of vcs, xshift=-6cm] (resetability) {
Wiederherstellbarkeit
};
\node[concept, vcs, below left=of vcs, xshift= 6cm] (collaboration) {
Kollaboration
};
\node[example, above left=of vcs] (einstieg) {
\nodepart{one} Bsp.: Dokument Bearbeiten
\nodepart{two}
......@@ -105,9 +108,15 @@
\node[concept, git, below right=of object] (commit) {
commit
};
\node[concept, git, below=of commit] (message) {
Beschreibung
};
\node[concept, git, right=of commit] (parent) {
Vorgänger
};
\node[concept, neutral, left=of message] (contentadrr) {
Hash Tableau
};
\node[concept, git, right=of parent] (history) {
History
};
......@@ -124,15 +133,83 @@
\node[concept, git, below right=of git] (index) {
Index
};
\node[concept, git, right=of dag] (branch) {
Zweig
};
}
\node[concept, wf, right=12cm of git] (workflows) {
Workflows
{
\node[concept, wf, right=16cm of git] (workflows) {
Workflows
};
\node[concept, wf, below=of workflows] (create) {
Repo erstellen
};
\node[concept, wf, below left=of create] (untersuchen) {
\parbox{2cm}{Änderungen\\untersuchen}
};
\node[concept, wf, left=of create, yshift=-1cm, xshift=-1cm] (modify) {
\parbox{2cm}{Änderungen\\einchechken}
};
\node[concept, wf, cmd, below=of create] (g-init) {
\$ git init
};
\node[concept, wf, cmd, left=of modify] (g-add) {
\$ git add
};
\node[concept, wf, cmd, below left=of modify] (g-commit) {
\$ git commit
};
\node[concept, wf, cmd, below=of untersuchen] (g-log) {
\$ git log
};
\node[concept, wf, cmd, above left= of modify] (g-status) {
\$ git status
};
\node[concept, wf, cmd, right=of g-log] (g-diff) {
\$ git diff
};
\node[concept, wf, right=of g-diff] (braching) {
Verzweigen
};
\node[concept, wf, cmd, below left=of braching] (g-branch) {
\$ git branch
};
\node[concept, wf, cmd, below right=of braching] (g-checkout) {
\$ git checkout
};
\node[concept, wf, cmd, below=of braching] (g-merge) {
\$ git merge
};
\node[concept, vcs, below left=of vcs, xshift= 6cm] (collaboration) {
Kollaboration
};
\node[concept, wf, right=6cm of workflows, yshift=-4cm] (kollab) {
Kollaboration
};
\node[concept, wf, below right=of kollab] (sync) {
Synchronisieren
};
\node[concept, wf, cmd, below=of kollab] (g-clone) {
\$ git clone
};
\node[concept, cmd, wf, below left=of kollab] (remote) {
Remote
};
\node[concept, cmd, wf, below right=of sync] (g-push) {
\$ git push
};
\node[concept, cmd, wf, below=of sync] (g-fetch) {
\$ git fetch
};
\node[concept, cmd, wf, below right=of g-fetch] (g-pull) {
\$ git pull
};
}
\node[example, above left=of workflows] (aufgriff) {
\nodepart{one} Verwenden: Dokument Bearbeiten
\nodepart{two} Beispiel aufgreifen für Demos
};
\node[concept, right=6cm of workflows] (github) {
\node[concept, gh, right=12cm of kollab, yshift=4cm] (github) {
GitHub
};
\node[example, above left=of github] (erweiterung) {
......@@ -154,6 +231,7 @@
(repository) edge node {} (reference)
(commit) edge[bend left=15] node {} (parent)
(commit) edge node {} (tree)
(commit) edge node {} (message)
(dirnode) edge node {} (file)
(dirnode) edge[loop left] node {} (dirnode)
;
......@@ -170,6 +248,8 @@
(tree) edge[bend left=45] node {} (dirnode)
(parent) edge[bend left=15] node {} (commit)
(parent) edge node {} (dag)
(branch) edge[bend left=7] node {} (reference)
(branch) edge node {} (history)
;
\draw[-open triangle 90,line width=1.2pt, nodes={midway}]
......@@ -178,11 +258,45 @@
(object) edge[] node {} (tree)
;
\draw[->, line width=1.2pt, nodes={midway}]
(kollab) edge[] node {} (remote)
(kollab) edge[] node {} (sync)
(sync) edge[] node {} (g-clone)
(sync) edge[] node {} (g-fetch)
(sync) edge[] node {} (g-push)
(sync) edge[] node {} (g-pull)
(g-pull) edge[] node {} (g-fetch)
(g-pull) edge[bend left=30] node {} (g-merge)
(remote) edge[bend left=30] node {} (branch)
;
\draw[->, line width=1.2pt, nodes={midway}]
(workflows) edge[] node {} (create)
(modify) edge[] node {} (g-add)
(modify) edge[] node {} (g-commit)
(modify) edge[] node {} (g-status)
(g-add) edge[] node {} (index)
(g-add) edge[] node {} (g-commit)
(g-commit) edge[bend left=10] node {} (repository)
(index) edge[bend right=10] node {} (g-commit)
(g-log) edge[] node {} (history)
(g-log) edge[] node {} (dag)
(create) edge[bend right=15] node {} (modify)
(create) edge[bend left=15] node {} (braching)
(create) edge[] node {} (untersuchen)
(create) edge[] node {} (g-init)
(untersuchen) edge[bend right=10] node {} (g-diff)
(untersuchen) edge[] node {} (g-log)
(g-diff) edge[bend left=30] node {} (history)
(braching) edge[] node {} (g-merge)
(braching) edge[] node {} (g-branch)
(braching) edge[] node {} (g-checkout)
;
\draw[->, line width=4pt, draw=black!90, nodes={midway}]
(vcs) edge (git)
(git) edge (workflows)
(workflows) edge (github)
(workflows) edge (kollab)
(kollab) edge (github)
;
\draw[->, dashed, line width=1.2pt, nodes={midway}]
......@@ -193,9 +307,18 @@
;
\begin{pgfonlayer}{background}
\draw[->, draw=black!30, line width=4pt, nodes={midway}]
(integrity) edge node {} (hash)
(integrity) edge node {} (parent)
(vcs) edge node {} (history)
(hash) edge node {} (integrity)
(parent) edge node {} (integrity)
(vcs) edge node {} (history)
(kollab) edge node {} (vcs)
(message) edge[bend left=45] node {} (nachvollziehbarkeit)
(contentadrr) edge node {} (repository)
(contentadrr) edge node {} (hash)
(contentadrr) edge node {} (object)
(g-diff) edge[] node {} (index)
(g-diff) edge[] node {} (workingtree)
(g-status) edge[] node {} (index)
(g-status) edge[] node {} (workingtree)
;
\end{pgfonlayer}
\end{tikzpicture}
......
Supports Markdown
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