commit 0bf990b948c09bd172f8cb44b8128e1d798e6889
parent c16c0c6fc247da561b6c74d49b3111f53f3aff12
Author: Antoine A <>
Date: Fri, 3 Jun 2022 10:07:07 +0200
Tweak figures to better fit the narrow format
Diffstat:
5 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/article-brains22/depolymerizer.tex b/article-brains22/depolymerizer.tex
@@ -138,7 +138,7 @@ their wallet.
\begin{figure}[hb]
\begin{center}
- \input{figures/taler_arch.tex}
+ \scalebox{1.2}{\input{figures/taler_arch.tex}}
\end{center}
\caption{GNU Taler overview}\label{fig:taler}
\end{figure}
diff --git a/article-brains22/figures/depolymerizer_arch.tex b/article-brains22/figures/depolymerizer_arch.tex
@@ -3,17 +3,16 @@
sym/.style={stealth-stealth, shorten >= 2pt, shorten <= 2pt}
]
\node[rect](1) {Taler Exchange};
- \node[rect,below=of 1](2) {Wire Gateway};
- \node[rect,right=of 2](3) {PostgreSQL};
- \node[rect,right=of 3](4) {DLT Adapter};
- \node[rect,above=of 4](5) {DLT Full Node};
+ \node[rect,below=.8cm of 1](2) {Wire Gateway};
+ \node[rect,right=.7cm of 2](3) {PostgreSQL};
+ \node[rect,right=.7cm of 3](4) {DLT Adapter};
+ \node[rect,above=.8cm of 4](5) {DLT Full Node};
\draw[sym] (1) -- node [midway,right] {\tiny HTTP} (2);
\draw[sym] (2) -- node [midway,above] {\tiny SQL} (3);
\draw[sym] (3) -- node [midway,above] {\tiny SQL} (4);
\draw[sym] (4) -- node [midway,left ] {\tiny RPC} (5);
-
\node[above= 2mm of 1]{\small{\emph{Wire Gateway API}}};
\node[above= 2mm of 5]{\small{\emph{DLT specific}}};
\node[above=22mm of 3](T) {};
diff --git a/article-brains22/figures/fork.tex b/article-brains22/figures/fork.tex
@@ -11,23 +11,19 @@
% Current
\node[block,right=5mm of 3](4){};
- \node[block,right=5mm of 4](5){};
- \node[block,right=5mm of 5](6){$D_1$};
+ \node[block,right=5mm of 4](5){$D_1$};
\draw[ar] (3) -- (4);
\draw[ar] (4) -- (5);
- \draw[ar] (5) -- (6);
% Fork
\node[block,above=7mm of 4](4p){};
\node[block,right=5mm of 4p](5p){$D_2$};
\node[block,right=5mm of 5p](6p){};
- \node[block,right=5mm of 6p](7p){};
\draw[ar] (3.east) -- (4p.west);
\draw[ar] (4p) -- (5p);
\draw[ar] (5p) -- (6p);
- \draw[ar] (6p) -- (7p);
% Indication
- \node [right=5mm of 7p]{\emph{fork}};
- \node [right=17mm of 6]{\emph{active}};
+ \node [right=5mm of 6p]{\emph{fork}};
+ \node [right=17mm of 5]{\emph{active}};
\end{tikzpicture}
\ No newline at end of file
diff --git a/article-brains22/figures/settlement_layer.tex b/article-brains22/figures/settlement_layer.tex
@@ -19,7 +19,7 @@
\draw[sym] (D) -- (B);
%% Blockchain
- \node[block,right=8mm of B] (1){};
+ \node[block,right=7mm of B] (1){};
\node[block,right=5mm of 1] (2){};
%\node[block,right=4mm of 2] (3){};
%\node[block,right=4mm of 3] (4){};
@@ -30,7 +30,7 @@
% \draw[-stealth] (2) -- (3);
% \draw[-stealth] (3) -- (4);
% \draw[-stealth] (4) -- (5);
-\draw[-stealth] (2) -- (5);
+ \draw[-stealth] (2) -- (5);
\draw[-stealth] (5) -- (6);
\node[left=4mm of 1] (S){};
@@ -39,12 +39,12 @@
\draw[-stealth] (6) -- (E);
%% Taler
- \node[block, below right=-7.5mm and 12.5mm of T] (off){Off-chain transactions};
+ \node[block, below right=-7.5mm and 11.75mm of T] (off){Off-chain transactions};
\node[above=-0.5mm of off] {\includegraphics[height=7mm]{media/taler.png}};
%% Depolymerization
- \node[right=11mm of D] {\small{Credit}};
- \node[right=50mm of D] {\small{Debit}};
+ \node[right=12mm of D] {\small{Credit}};
+ \node[right=38.5mm of D] {\small{Debit}};
\draw[dashed,-stealth] (1.north) |- (off.west);
\draw[dashed,-stealth] (off.east) -| (6.north);
\end{tikzpicture}
\ No newline at end of file
diff --git a/article-brains22/figures/taler_arch.tex b/article-brains22/figures/taler_arch.tex
@@ -1,11 +1,11 @@
\begin{tikzpicture}[
- rect/.style={circle, draw=black},
+ rect/.style={circle, draw=black,font=\fontsize{9}{16}\selectfont},
sym/.style={-stealth, shorten >= 2pt, shorten <= 2pt}
]
% Taler payment system
\node[rect](1) {Exchange};
- \node[rect,below left=2cm and 1cm of 1](2) {Customer};
- \node[rect,below right=2cm and 1cm of 1](3) {Merchant};
+ \node[rect,below left=1.5cm and 0.75cm of 1](2) {Customer};
+ \node[rect,below right=1.5cm and 0.75cm of 1](3) {Merchant};
\draw[sym] (1) -- node [midway, above, sloped] {\tiny Withdraw coins} (2);
\draw[sym] (2) -- node [midway, above, sloped] {\tiny Spend coins} (3);
@@ -18,7 +18,7 @@
\draw[sym] (1) -- node [midway, above] {\tiny Withdraw money} (E2);
% Auditor
- \node[above= of 1](A){Auditor};
+ \node[above=0.6cm of 1](A){Auditor};
\draw[sym] (A) -- node [midway, right] {\tiny Verify} (1);
% Separator