Commit bcc06a34 authored by Lukas Nagel's avatar Lukas Nagel
Browse files

add remote branch tikz style

Fixes: #19
parent f7b7b522
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
\commit[right=of \pepcommit]{\proofcommit}{lightblue}{\pepcommit}; \commit[right=of \pepcommit]{\proofcommit}{lightblue}{\pepcommit};
\branch[right=of \proofcommit]{master}{\proofcommit} \branch[right=of \proofcommit]{master}{\proofcommit}
\branch[above right=of \refactorcommit]{alice/master}{\refactorcommit} \branch[remote, above right=of \refactorcommit]{alice/master}{\refactorcommit}
\message{\rootcommit}{initial} \message{\rootcommit}{initial}
\message{\pepcommit}{pep8} \message{\pepcommit}{pep8}
\message[above=of \sortcommit]{\sortcommit}{presort} \message[above=of \sortcommit]{\sortcommit}{presort}
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
\commit[right=of \proofcommit, xshift=1.2cm]{\mergecommit}{lightblue}{\proofcommit,\refactorcommit}; \commit[right=of \proofcommit, xshift=1.2cm]{\mergecommit}{lightblue}{\proofcommit,\refactorcommit};
\branch{master}{\mergecommit} \branch{master}{\mergecommit}
\branch[above right=of \refactorcommit]{alice/master}{\refactorcommit} \branch[remote, above right=of \refactorcommit]{alice/master}{\refactorcommit}
\message{\rootcommit}{initial} \message{\rootcommit}{initial}
\message{\pepcommit}{pep8} \message{\pepcommit}{pep8}
\message[above=of \sortcommit]{\sortcommit}{presort} \message[above=of \sortcommit]{\sortcommit}{presort}
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
\commit[right=of \proofcommit, xshift=1.2cm]{\mergecommit}{lightblue}{\proofcommit,\refactorcommit}; \commit[right=of \proofcommit, xshift=1.2cm]{\mergecommit}{lightblue}{\proofcommit,\refactorcommit};
\branch{master}{\mergecommit} \branch{master}{\mergecommit}
\branch[above right=of \refactorcommit]{alice/master}{\refactorcommit} \branch[remote, above right=of \refactorcommit]{alice/master}{\refactorcommit}
\message{\rootcommit}{initial} \message{\rootcommit}{initial}
\message{\pepcommit}{pep8} \message{\pepcommit}{pep8}
\message[above=of \sortcommit]{\sortcommit}{presort} \message[above=of \sortcommit]{\sortcommit}{presort}
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
\begin{tikzpicture}[draw=nontext] \begin{tikzpicture}[draw=nontext]
\node[HEAD] (head) {HEAD}; \node[HEAD] (head) {HEAD};
\node[branch, below=of head] (local) {local branch}; \node[branch, below=of head] (local) {local branch};
\node[branch, right=of local, fill=lightblue] (remote) {remote branch}; \node[remote, right=of local] (remote) {remote branch};
\node[branch, below=1cm of local] (commit) {commit}; \node[branch, below=1cm of local] (commit) {commit};
\node[branch, below=1cm of commit] (tree) {tree}; \node[branch, below=1cm of commit] (tree) {tree};
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
, fill=black!10 , fill=black!10
, text=black!90 , text=black!90
] ]
\tikzstyle{remote}=%
[ branch
, fill=lightblue
]
\tikzstyle{branch}=% \tikzstyle{branch}=%
[ rectangle [ rectangle
, rounded corners=2pt , rounded corners=2pt
......
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