|
@@ -60,11 +60,11 @@ Figure~\ref{fig:originalpapergraph} compares our results to those of Brandes and
|
|
|
|
|
|
|
|
|
\section{User interface}\label{sec:userInterface}
|
|
|
-Currently the only way to interact with the application is by keyboard events.
|
|
|
-It is planned to add additional commands, see chapter~\ref{ch:progress}.
|
|
|
-The possible inputs are listed in table~\ref{table:keys}.
|
|
|
+Currently the two main ways to interact with the application are keyboard events and graphical button-clicking.
|
|
|
+The possible keyboard inputs are listed in table~\ref{table:keys}.
|
|
|
+These can also be used by clicking on one of the buttons displayed in figure~\ref{fig:sketch}.
|
|
|
|
|
|
-\begin{table}[htp]
|
|
|
+%\begin{table}[htp]
|
|
|
\begin{longtable}{|l|p{10cm}|}
|
|
|
\hline
|
|
|
Key & Action \\\hline\hline
|
|
@@ -74,14 +74,29 @@ The possible inputs are listed in table~\ref{table:keys}.
|
|
|
Alt + Down arrow key & Perform one \enquote{step over} in forwards direction. \\\hline
|
|
|
Alt + Page down & Perform one \enquote{step out} in forwards direction. \\\hline
|
|
|
Alt + Page up & Perform one \enquote{step out} in backwards direction. \\\hline
|
|
|
- Alt + P & Activate forwards automatic execution. \\\hline
|
|
|
- Alt + R & Activate backwards automatic execution. \\\hline
|
|
|
+ Alt + P & Activate automatic forwards execution. \\\hline
|
|
|
+ Alt + R & Activate automatic backwards execution. \\\hline
|
|
|
Alt + Pause & Pause automatic execution. \\\hline
|
|
|
Alt + G & Generate a random graph (opens a dialog window). \\\hline
|
|
|
Alt + S & Save the current graph to a file (opens a dialog window). \\\hline
|
|
|
Alt + L & Load a graph from a file (opens a dialog window). \\\hline
|
|
|
Alt + D & Show a debug table (in a new window). \\\hline
|
|
|
+ \caption[Overview of the available keyboard commands]{Overview of the available keyboard commands. For the planned commands, see~\ref{ch:progress}.}
|
|
|
+ \label{table:keys}
|
|
|
\end{longtable}
|
|
|
- \caption[Overview of the available keyboard commands]{Overview of the available keyboard commands. For the planned commands, see~\ref{ch:progress}.}
|
|
|
- \label{table:keys}
|
|
|
-\end{table}
|
|
|
+%\end{table}
|
|
|
+
|
|
|
+One interaction that is available neither on keyboard nor on a button is setting breakpoints.
|
|
|
+For this, the user performs a triple click on one of the lines in the pseudocode.
|
|
|
+Upon reaching the beginning of that stage (beginning in running direction) the automatic execution pauses.
|
|
|
+Imagine the following scenario:
|
|
|
+\begin{enumerate}
|
|
|
+ \item The user starts up \appname.
|
|
|
+ \item The user sets a breakpoint on \enquote{Extremal Layout: leftmost lower} (this is the third extremal layout in the order they are computed).
|
|
|
+ \item The user activates automatic forwards execution.
|
|
|
+ \item The algorithm pauses when reaching the first step of \enquote{Extremal Layout: leftmost lower}.
|
|
|
+ \item The user activates automatic forwards execution again.
|
|
|
+ \item After the stage of \enquote{Extremal Layout: leftmost lower} is roughly halfway finished, the user pauses the automatic execution and activates automatic \emph{backwards} execution.
|
|
|
+ \item The algorithm would stop at the last step of \enquote{Extremal Layout: leftmost lower} (which is the first step in backwards direction), but this is obviously not reached from the middle of that stage.
|
|
|
+ So the algorithm just runs backwards to the beginning of whole BK Node Placement Algorithm (first step of the preprocessing).
|
|
|
+\end{enumerate}
|