|
@@ -10,9 +10,15 @@ The following assumptions are made for the implementation of the node placement
|
|
\end{itemize}
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
-\section{Components}\label{sec:components}
|
|
|
|
-\TODO{write about components and dependencies}
|
|
|
|
-Figure~\ref{fig:components} contains a component diagram that illustrates this.
|
|
|
|
|
|
+\section{Overview}\label{sec:components}
|
|
|
|
+The \code{main} package contains an executable class \code{Main}.
|
|
|
|
+This classes main method creates a graph or reads it from a file using the \code{graph.io} package and then creates a MainView.
|
|
|
|
+The view then instantiates a \code{BKNodePlacement} algorithm and runs it.
|
|
|
|
+The \code{BKNodePlacement} repeatedly asks the \code{AnimationController} if a step should be done (this is further explained in section~\ref{sec:theActualAlgorithm}).
|
|
|
|
+For each step it uses works with \code{LayeredGraphNode}s and \code{LayeredGraphEdge}s.
|
|
|
|
+Meanwhile the view displays the same \code{LayeredGraphNode}s and \code{LayeredGraphEdge}s on the screen.
|
|
|
|
+
|
|
|
|
+Figure~\ref{fig:components} contains a component diagram that illustrates these dependencies of the packages.
|
|
|
|
|
|
\begin{figure}[htp]
|
|
\begin{figure}[htp]
|
|
\centering
|
|
\centering
|