|
@@ -21,15 +21,8 @@ For parsing the JSON file the JSON-java library~\cite{leary_json-java:_2018} is
|
|
|
The classes for reading and writing those JSON files are displayed in figure~\ref{fig:io}.
|
|
|
The internal representation of graphs is further explained in the section~\ref{sec:model}.
|
|
|
|
|
|
-\begin{figure}[tp]
|
|
|
- \centering
|
|
|
- \includegraphics[width=\linewidth, trim={0 20cm 0 0}]{img/IO.pdf}
|
|
|
- \caption{Class diagram of the \enquote{IO} package, containing utilities for reading and writing graphs.}
|
|
|
- \label{fig:io}
|
|
|
-\end{figure}
|
|
|
-
|
|
|
\centering
|
|
|
-\begin{longtable}{|p{1.8cm}|p{2cm}|p{1.8cm}|p{8.5cm}|}
|
|
|
+\begin{longtable}{|p{1.8cm}|p{2.3cm}|p{1.7cm}|p{8.5cm}|}
|
|
|
\hline
|
|
|
Attribute & Type & Optional & Explanation \\\hline\hline
|
|
|
name & string & yes & If not omitted, this must be unique for a given parent node. \\\hline
|
|
@@ -43,8 +36,16 @@ The internal representation of graphs is further explained in the section~\ref{s
|
|
|
\label{table:node-attributes}
|
|
|
\end{longtable}
|
|
|
|
|
|
+\begin{figure}[tp]
|
|
|
+ \centering
|
|
|
+ \includegraphics[width=\linewidth, trim={0 20cm 0 0}]{img/IO.pdf}
|
|
|
+ \caption[Class diagram of the \enquote{IO} package]{Class diagram of the \enquote{IO} package, containing utilities for reading and writing graphs.}
|
|
|
+ \label{fig:io}
|
|
|
+\end{figure}
|
|
|
+
|
|
|
\newpage
|
|
|
|
|
|
+\TODO{attribute for dummy nodes}
|
|
|
\begin{longtable}{|p{1.8cm}|p{2cm}|p{1.8cm}|p{8.5cm}|}
|
|
|
\hline
|
|
|
Attribute & Type & Optional & Explanation \\\hline\hline
|
|
@@ -64,6 +65,7 @@ The internal representation of graphs is further explained in the section~\ref{s
|
|
|
% \label{fig:iff}
|
|
|
%\end{figure}
|
|
|
|
|
|
+\TODO{Kante in beispielJSON}
|
|
|
\begin{figure}
|
|
|
\begin{lstinputlisting}[language=json,emph={}]{img/graph.json}
|
|
|
\end{lstinputlisting}
|
|
@@ -86,7 +88,7 @@ Similarly, edges have additional attributes:
|
|
|
\begin{itemize}
|
|
|
\item \enquote{dummy} specifies whether they are dummy edges.
|
|
|
\item \enquote{conflicted} corresponds to the variable used by Brandes and Köpf~\cite{brandes_fast_2001} and indicates that this edge won't be drawn vertically.
|
|
|
- \item \enquote{bindPoints} is a list of bend points for the edge.
|
|
|
+ \item \enquote{bindPoints} is a list of bend points for the edge, including the beginning and end point of the edge.
|
|
|
\end{itemize}
|
|
|
|
|
|
A class diagram of the package \enquote{Model} is displayed in figure~\ref{fig:model}.
|