Bladeren bron

update figure descriptions

Eren Yilmaz 6 jaren geleden
bovenliggende
commit
2a402f87fd
6 gewijzigde bestanden met toevoegingen van 36 en 34 verwijderingen
  1. 1 1
      doc/chapter/2architecture.tex
  2. 9 7
      doc/chapter/3ui.tex
  3. 2 2
      doc/chapter/appendix.tex
  4. 24 24
      doc/doc.tex
  5. BIN
      doc/img/example.png
  6. BIN
      doc/img/preferences.png

+ 1 - 1
doc/chapter/2architecture.tex

@@ -96,7 +96,7 @@ The internal representation of graphs is further explained in the section~\ref{s
 %    \label{fig:iff}
 %\end{figure}
 
-\begin{figure}
+\begin{figure}[htp]
     \begin{lstinputlisting}[language=json,emph={}]{src/graph.json}
     \end{lstinputlisting}
     \caption[Example input file]{Example input file that is understood by \appname.}

+ 9 - 7
doc/chapter/3ui.tex

@@ -30,26 +30,28 @@ Figure~\ref{fig:originalpapergraph} compares our results to those of Brandes and
     \centering
     \includegraphics[width=0.6\linewidth]{img/example}
     \caption[A simple graph with 5 nodes]{A simple graph with 5 nodes after the four extremal layout have been computed, but not balanced yet.
-    The vertical directions are down (upper row), up (lower row) and the horizontal directions are left (left column) and right (right column).
-    The background colors of the nodes display which block they belong to: For example the two red nodes on the upper right are in the same block.
+    The vertical directions are upper (upper row), lower (lower row) and the horizontal directions are leftmost (left column) and rightmost (right column).
+    The colors of the nodes display which block they belong to: For example the two red nodes in the leftmost upper extremal layout are in the same block.
+    Grey nodes are their own blocks consisting of only one node.
     Round nodes are the roots of the blocks.
-    A colored circle on a node indicates the class that this node belongs to and is also the color of the associated sink in the block graph.
+    The background color of a node indicates the class that this node belongs to.
     The node that is currently in the focus of the algorithm (whatever this means for the current stage) is highlighted in black color.
-    Although edges are not drawn during the node placement phase we added them here as straight lines to improve readability.}
+    Although edges are not drawn during the node placement phase we added them here as straight lines to improve readability.
+    If any edge was marked as conflicted, it would have been drawn in red color.}
     \label{fig:example}
 \end{figure}
 
-\begin{figure}
+\begin{figure}[htp]
     \centering
     \begin{subfigure}{\textwidth}
         \centering
-        \includegraphics[width=\linewidth]{img/bk-example-theirs}
+        \includegraphics[width=0.9\linewidth]{img/bk-example-theirs}
         \caption{An example graph directly taken from the paper of Brandes and Köpf~\cite{brandes_fast_2001}.}
         \label{fig:theirs}
     \end{subfigure}\\\vspace{4mm}
     \begin{subfigure}{\textwidth}
         \centering
-        \includegraphics[width=0.4\linewidth]{img/bk-example-ours}
+        \includegraphics[width=0.75\linewidth]{img/bk-example-ours}
         \caption[The same graph as~\ref{fig:theirs}, displayed by \appname.]{The same graph as~\ref{fig:theirs}, displayed by \appname.
         The layouts are leftmost (first column), rightmost (third column), upper (first row) and lower (third row), respectively.
         The balanced layout is in the center.

+ 2 - 2
doc/chapter/appendix.tex

@@ -22,7 +22,7 @@
         Automatic backwards execution & Special case of automatic execution in backwards direction & See section~\ref{sec:userInterface} \\
         \rowcolor{gray!25}
         pseudocode & Code that does not clearly belong to a specific programming language.
-        It can actually be executed. & \TODO{reference} \\
+        It can actually be executed, although we call it pseudocode. & see figure~\ref{fig:full-application-example} \\
         step overrun & The state of the \code{AnimationController} where it repeatedly sends step commands, but only inserts a delay after steps whose line of pseudocode is currently unfolded in the pseudocode view. & See section~\ref{sec:userInterface} \\
         \\\\
 	\end{longtable}
@@ -59,7 +59,7 @@
     \label{fig:error_disconnected_img}
 \end{figure}
 
-\begin{figure}
+\begin{figure}[htp]
     \begin{lstinputlisting}[language=json,emph={},basicstyle=\scriptsize\ttfamily,numberstyle=\tiny]{src/error_disconnected.json}
     \end{lstinputlisting}
     \caption[Disconnected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, possibly because it is not connected.

+ 24 - 24
doc/doc.tex

@@ -161,30 +161,30 @@ frame=tb}
 %\end{figure}
 %}
 
-\newcommand{\svgfigurewidth}[5]{
-\begin{figure}[htp]
-    \centering
-    \fontsize{8}{10}\selectfont
-    \includesvg[width = #5]{#1}
-    \caption[#2]{#3}\label{#4}
-\end{figure}
-}
-
-\newcommand{\svgfigurefullwidth}[4]{
-\begin{figure}[htp]
-    \centering
-    \includesvg[width = \textwidth]{#1}
-    \caption[#2]{#3}\label{#4}
-\end{figure}
-}
-
-\newcommand{\graphicsfigure}[3]{
-\begin{figure}[htp]
-    \centering
-    \includegraphics[width=\linewidth]{#1}
-    \caption{#2}\label{#3}
-\end{figure}
-}
+%\newcommand{\svgfigurewidth}[5]{
+%\begin{figure}[htp]
+%    \centering
+%    \fontsize{8}{10}\selectfont
+%    \includesvg[width = #5]{#1}
+%    \caption[#2]{#3}\label{#4}
+%\end{figure}
+%}
+%
+%\newcommand{\svgfigurefullwidth}[4]{
+%\begin{figure}[htp]
+%    \centering
+%    \includesvg[width = \textwidth]{#1}
+%    \caption[#2]{#3}\label{#4}
+%\end{figure}
+%}
+%
+%\newcommand{\graphicsfigure}[3]{
+%\begin{figure}[htp]
+%    \centering
+%    \includegraphics[width=\linewidth]{#1}
+%    \caption{#2}\label{#3}
+%\end{figure}
+%}
 
 % um den kram kürzer zu schreiben
 \newcommand{\ssrl}[1]{\multicolumn{1}{|c|}{#1}}

BIN
doc/img/example.png


BIN
doc/img/preferences.png