appendix.tex 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/preferences}
  43. \caption[Preferences]{The dialog for adjusting the preferences.}
  44. \label{fig:preferences}
  45. \end{figure}
  46. \begin{figure}[htp]
  47. \centering
  48. \includegraphics[width=0.33\linewidth]{img/error_disconnected}
  49. \caption[Error caused by disconnected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_disconnected}.
  50. In the lowest layer the two nodes are drawn at the same position.}
  51. \label{fig:error_disconnected_img}
  52. \end{figure}
  53. \begin{figure}[htp]
  54. \centering
  55. \includegraphics[width=0.33\linewidth]{img/error_connected}
  56. \caption[Error caused by connected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_connected}.
  57. In the fourth layer the last two nodes are drawn at the same position.}
  58. \label{fig:error_connected_img}
  59. \end{figure}
  60. \begin{figure}
  61. \begin{lstinputlisting}[language=json,emph={},basicstyle=\scriptsize\ttfamily,numberstyle=\tiny]{src/error_disconnected.json}
  62. \end{lstinputlisting}
  63. \caption[Disconnected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, possibly because it is not connected.
  64. The error is illustrated in figure~\ref{fig:error_disconnected_img}.}
  65. \label{fig:error_disconnected}
  66. \end{figure}
  67. \begin{figure}
  68. \begin{lstinputlisting}[language=json,emph={},basicstyle=\tiny\ttfamily,numberstyle=\tiny]{src/error_connected.json}
  69. \end{lstinputlisting}
  70. \caption[Connected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, even though it is connected.
  71. We did not check yet if this is a problem with our implementation or with the node placement algorithm itself.
  72. The error is illustrated in figure~\ref{fig:error_connected_img}.}
  73. \label{fig:error_connected}
  74. \end{figure}