appendix.tex 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. \begin{table}[ht]
  2. \centering
  3. \small
  4. \begin{longtable}{p{3cm} p{8cm} p{4cm}}
  5. \rowcolor{gray!50}
  6. \textbf{Term} & \textbf{Explanation} & \textbf{Example} \\
  7. Phase & One phase of the Sugiyama approach~\cite{sugiyama_methods_1981} & Node Placement \\
  8. \rowcolor{gray!25}
  9. Stage & One stage of the BK algorithm~\cite{brandes_fast_2001} & Balancing \\
  10. Step & Atomic part of a stage of the BK algorithm~\cite{brandes_fast_2001} & Computing one $x$ coordinate during balancing stage \\
  11. \rowcolor{gray!25}
  12. \appname & The name of the application for which this is the documentation & \\
  13. \member{sink} & See table~\ref{table:bk-variables} & \\
  14. \rowcolor{gray!25}
  15. \member{shift} & See table~\ref{table:bk-variables} & \\
  16. \member{root} & See table~\ref{table:bk-variables} & \\
  17. \rowcolor{gray!25}
  18. \member{align} & See table~\ref{table:bk-variables} & \\
  19. Extremal layout & Defines in which order the layers are traversed and if a node is aligned with its upper or lower median. & Leftmost lower \\
  20. \rowcolor{gray!25}
  21. Automatic execution & The state of the \code{AnimationController} where it repeatedly sends step commands with a certain delay & See section~\ref{sec:userInterface} \\
  22. 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} \\
  23. \\\\
  24. \end{longtable}
  25. \caption{Glossary for the most difficult terms as we use them.}
  26. \label{table:glossary}
  27. \end{table}
  28. \begin{figure}[htp]
  29. \centering
  30. \includegraphics[width=0.33\linewidth]{img/random-graph-dialog}
  31. \caption[Random graph dialog]{Dialog for generating random graphs.}
  32. \label{fig:random-graph-dialog}
  33. \end{figure}
  34. \begin{figure}[htp]
  35. \centering
  36. \includegraphics[width=\linewidth]{img/debug-table}
  37. \caption[Debug Table]{An example for a debug table. The graph used is the same as in figure~\ref{fig:example}}
  38. \label{fig:debug-table}
  39. \end{figure}
  40. \begin{figure}[htp]
  41. \centering
  42. \includegraphics[width=0.33\linewidth]{img/error_disconnected}
  43. \caption[Error caused by disconnected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_disconnected}.
  44. In the lowest layer the two nodes are drawn at the same position.}
  45. \label{fig:error_disconnected_img}
  46. \end{figure}
  47. \begin{figure}[htp]
  48. \centering
  49. \includegraphics[width=0.33\linewidth]{img/error_connected}
  50. \caption[Error caused by connected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_connected}.
  51. In the fourth layer the last two nodes are drawn at the same position.}
  52. \label{fig:error_connected_img}
  53. \end{figure}
  54. \begin{figure}
  55. \begin{lstinputlisting}[language=json,emph={},basicstyle=\scriptsize\ttfamily,numberstyle=\tiny]{src/error_disconnected.json}
  56. \end{lstinputlisting}
  57. \caption[Disconnected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, possibly because it is not connected.
  58. The error is illustrated in figure~\ref{fig:error_disconnected_img}.}
  59. \label{fig:error_disconnected}
  60. \end{figure}
  61. \begin{figure}
  62. \begin{lstinputlisting}[language=json,emph={},basicstyle=\tiny\ttfamily,numberstyle=\tiny]{src/error_connected.json}
  63. \end{lstinputlisting}
  64. \caption[Connected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, even though it is connected.
  65. We did not check yet if this is a problem with our implementation or with the node placement algorithm itself.
  66. The error is illustrated in figure~\ref{fig:error_connected_img}.}
  67. \label{fig:error_connected}
  68. \end{figure}