aboutsummaryrefslogtreecommitdiff
path: root/tex/src
diff options
context:
space:
mode:
authorMarjan Akbari <mrjakbari@gmail.com>2020-06-13 00:45:04 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-06-13 00:55:56 +0100
commitbe609403b4ba0d520a038b45daffa433e1c5ec5e (patch)
tree46ec75f65677e51f8efc44fb50c402dddac74d69 /tex/src
parentbedfe761bb6bb8f1fc0976b069593b45bdf2a25a (diff)
Custom-built EPS icons in branching figure
Until now, we were using three EPS (created from SVG) that were downloaded from https://www.flaticon.com. Therefore it was necessary to acknowledge the creators and put a link to the webpage. This consumed space in the caption and decreased the originality of the plot. Another problem was that the "collaboration" icon (with three people in it) had arrows, and some of those arrows pointed downwards, make ambiguity in relation to the top-ward arrows under the commits. With this commit, three alternative icons are added that I made from scratch, using Inkscape. The collaboration icon now is two figures and two speech-bubbles, without any arrows.
Diffstat (limited to 'tex/src')
-rw-r--r--tex/src/figure-branching.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/tex/src/figure-branching.tex b/tex/src/figure-branching.tex
index 7259f7d..56a76e8 100644
--- a/tex/src/figure-branching.tex
+++ b/tex/src/figure-branching.tex
@@ -39,6 +39,10 @@
\draw [white] (0,0) -- (0,8cm);
\draw [white] (0,0) -- (\linewidth,0);
+ %% Collaboration icon, which should be under the commit ellipses.
+ \node[inner sep=0pt] at (3.885cm,5.51cm)
+ {\includegraphics[width=6.6mm]{tex/img/icon-collaboration.eps}};
+
%% Maneage branch line.
\draw [black!40!white, dashed, line width=2mm] (1.5cm,0) -- (1.5cm,0.6cm);
\draw [->, black!40!white, line width=2mm] (1.5cm,0.6cm) -- (1.5cm,7.9cm);
@@ -75,14 +79,12 @@
%% Derivate project commits.
\branchcommit{red!60!green}{4.5cm}{5cm}{f69e1f4}
\branchcommit{red!60!green}{4.5cm}{6cm}{716b56b}
- \node[inner sep=0pt] at (3.92cm,5.55cm)
- {\includegraphics[width=6.5mm]{tex/img/icon-collaboration.eps}};
%% Paper being processed icon. The white rectangle over it is to blend it
%% into the background.
- \node[anchor=south,inner sep=0pt] at (3.92cm,6.7cm)
+ \node[anchor=south,inner sep=0pt] at (4.2cm,6.5cm)
{\includegraphics[width=1cm]{tex/img/icon-processing.eps}};
- \draw[white, fill=white, opacity=0.7] (3.42cm,6.7) rectangle (5cm,7.8cm);
+% \draw[white, fill=white, opacity=0.7] (3.42cm,6.7) rectangle (5cm,7.8cm);
%% Description of this scenario:
\draw [rounded corners, fill=black!10!white] (3.1cm,0) rectangle (7.5cm,1.25cm);
@@ -136,7 +138,8 @@
%% Project commits.
\branchcommit{red!60!green}{11cm}{2.5cm}{4483a81}
\branchcommit{red!60!green}{11cm}{4.5cm}{\projectversion}
- \node[anchor=south, inner sep=0pt, color=white] at (11.05cm,4.8cm) {\includegraphics[width=1cm]{tex/img/icon-complete.eps}};
+ \node[anchor=south, inner sep=0pt, color=white] at (11cm,4.8cm)
+ {\includegraphics[width=1cm]{tex/img/icon-complete.eps}};
%% Derivate project commits.
\branchcommit{purple!60!yellow}{12.5cm}{5cm}{b177c7e}