appendix.tex 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. Automatic backwards execution & Special case of automatic execution in backwards direction & See section~\ref{sec:userInterface} \\
  23. \rowcolor{gray!25}
  24. 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} \\
  25. \\\\
  26. \end{longtable}
  27. \caption{Glossary for the most difficult terms as we use them.}
  28. \label{table:glossary}
  29. \end{table}
  30. \begin{figure}[htp]
  31. \centering
  32. \includegraphics[width=0.33\linewidth]{img/random-graph-dialog}
  33. \caption[Random graph dialog]{Dialog for generating random graphs.}
  34. \label{fig:random-graph-dialog}
  35. \end{figure}
  36. \begin{figure}[htp]
  37. \centering
  38. \includegraphics[width=\linewidth]{img/debug-table}
  39. \caption[Debug Table]{An example for a debug table. The graph used is the same as in figure~\ref{fig:example}}
  40. \label{fig:debug-table}
  41. \end{figure}
  42. \begin{figure}[htp]
  43. \centering
  44. \includegraphics[width=0.33\linewidth]{img/preferences}
  45. \caption[Preferences]{The dialog for adjusting the preferences.}
  46. \label{fig:preferences}
  47. \end{figure}
  48. \begin{figure}[htp]
  49. \centering
  50. \includegraphics[width=0.33\linewidth]{img/error_disconnected}
  51. \caption[Error caused by disconnected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_disconnected}.
  52. In the lowest layer the two nodes are drawn at the same position.}
  53. \label{fig:error_disconnected_img}
  54. \end{figure}
  55. \begin{figure}[htp]
  56. \centering
  57. \includegraphics[width=0.33\linewidth]{img/error_connected}
  58. \caption[Error caused by connected graph]{An illustration of the error caused by the graph displayed in figure~\ref{fig:error_connected}.
  59. In the fourth layer the last two nodes are drawn at the same position.}
  60. \label{fig:error_connected_img}
  61. \end{figure}
  62. \begin{figure}
  63. \begin{lstinputlisting}[language=json,emph={},basicstyle=\scriptsize\ttfamily,numberstyle=\tiny]{src/error_disconnected.json}
  64. \end{lstinputlisting}
  65. \caption[Disconnected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, possibly because it is not connected.
  66. The error is illustrated in figure~\ref{fig:error_disconnected_img}.}
  67. \label{fig:error_disconnected}
  68. \end{figure}
  69. \begin{figure}
  70. \begin{lstinputlisting}[language=json,emph={},basicstyle=\tiny\ttfamily,numberstyle=\tiny]{src/error_connected.json}
  71. \end{lstinputlisting}
  72. \caption[Connected graph causing an error]{Example graph where the node placement algorithm does not behave correctly, even though it is connected.
  73. We did not check yet if this is a problem with our implementation or with the node placement algorithm itself.
  74. The error is illustrated in figure~\ref{fig:error_connected_img}.}
  75. \label{fig:error_connected}
  76. \end{figure}