\begin{figure}[htp]
    \centering
    \includegraphics{img/random-graph-dialog}
    \caption[Random graph dialog]{Dialog for generating random graphs.}
    \label{fig:random-graph-dialog}
\end{figure}
\begin{figure}[htp]
    \centering
    \includegraphics[width=\linewidth]{img/debug-table}
    \caption[Debug Table]{An example for a debug table. The graph used is the same as in figure~\ref{fig:example}}
    \label{fig:debug-table}
\end{figure}