Quellcode durchsuchen

plan feature to make pseudocode clickable

Eren Yilmaz vor 6 Jahren
Ursprung
Commit
1e0f98c9b3
2 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  1. 5 2
      doc/chapter/4progress.tex
  2. 2 0
      doc/doc.tex

+ 5 - 2
doc/chapter/4progress.tex

@@ -25,7 +25,10 @@ The following features are either planned (\planned), under construction (\progr
         \item[\done] Drawing the conflicted edges in a different color.
         \item[\done] Drawing the four extremal layouts and the combined layout separately.
         \item[\planned] Drawing the edges of the block graph (in a different color than other edges, low priority).
-        \item[\planned] Show pseudocode and the position where the algorithm currently is.
+        \item[\done] Showing pseudocode and the position where the algorithm currently is.
+        \begin{itemize}
+            \item[\planned] Clicking on the pseudocode to go to (not \reserved{goto}) to a specific location.
+        \end{itemize}
     \end{itemize}
     \item[\done] Running the algorithm step by step manually.
     \item[\progress] Running the algorithm step by step with configurable delay.
@@ -34,7 +37,7 @@ The following features are either planned (\planned), under construction (\progr
     Currently there is only keyboard input (cf.\ section~\ref{sec:userInterface}).
     \item[\done] Working with hierarchical graphs.
     \item[\done] Scaling the display with the (adjustable) window size.
-    \item[\planned] Work with disconnected graphs (cf.\ section~\ref{sec:assumptions}), either by modifying the algorithm or by processing the connected components one by one (low priority).
+    \item[\planned] Working with disconnected graphs (cf.\ section~\ref{sec:assumptions}), either by modifying the algorithm or by processing the connected components one by one (low priority).
     \item[\planned] Creating ElkNode~\cite{noauthor_elk:_2018} objects from LayeredNode (\ref{sec:graph}) objects.
     \item[\planned] Creating LayeredNode (\ref{sec:graph}) objects from ElkNode~\cite{noauthor_elk:_2018} objects (low priority).
 \end{itemize}

+ 2 - 0
doc/doc.tex

@@ -103,9 +103,11 @@
 \definecolor{deepgreen}{rgb}{0,0.4,0}
 \definecolor{grau}{gray}{0.3}
 \definecolor{member}{rgb}{0.27,0.37,0.75}
+\definecolor{reserved}{rgb}{0.5,0.,0.333}
 
 \newcommand{\code}[1]{\lstinline[basicstyle=\ttfamily]|#1|}
 \newcommand{\member}[1]{\lstinline[basicstyle=\ttfamily\color{member}]|#1|}
+\newcommand{\reserved}[1]{\lstinline[basicstyle=\ttfamily\color{reserved}]|#1|}
 
 % python style code
 \lstset{