\section{lib/fdpgen/xlayout.c File Reference}
\label{xlayout_8c}\index{lib/fdpgen/xlayout.\-c@{lib/fdpgen/xlayout.\-c}}
{\ttfamily \#include $<$xlayout.\-h$>$}\\*
{\ttfamily \#include $<$adjust.\-h$>$}\\*
{\ttfamily \#include $<$dbg.\-h$>$}\\*
{\ttfamily \#include $<$ctype.\-h$>$}\\*
Include dependency graph for xlayout.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{xlayout_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E}~1
\item 
\#define {\bf B\-O\-X}~/$\ast$ Use bbox to determine {\bf overlap}, {\bf else} use circles $\ast$/
\item 
\#define {\bf D\-F\-L\-T\-\_\-overlap}~\char`\"{}9\-:prism\char`\"{}    /$\ast$ default {\bf overlap} value $\ast$/
\item 
\#define {\bf W\-D2}(n)~(X\-\_\-marg.\-do\-Add ? ({\bf N\-D\-\_\-width}(n)/2.\-0 + X\-\_\-marg.\-x)\-: {\bf N\-D\-\_\-width}(n)$\ast$X\-\_\-marg.\-x/2.\-0)
\item 
\#define {\bf H\-T2}(n)~(X\-\_\-marg.\-do\-Add ? ({\bf N\-D\-\_\-height}(n)/2.\-0 + X\-\_\-marg.\-y)\-: {\bf N\-D\-\_\-height}(n)$\ast$X\-\_\-marg.\-y/2.\-0)
\item 
\#define {\bf X\-\_\-\-T0}~x\-Params.\-T0
\item 
\#define {\bf X\-\_\-\-K}~x\-Params.\-K
\item 
\#define {\bf X\-\_\-num\-Iters}~x\-Params.\-num\-Iters
\item 
\#define {\bf X\-\_\-loopcnt}~x\-Params.\-loopcnt
\item 
\#define {\bf X\-\_\-\-C}~{\bf x\-Params.\-C}
\item 
\#define {\bf E\-P\-S\-I\-L\-O\-N}~0.\-01
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf pr2graphs} ({\bf Agraph\-\_\-t} $\ast$g0, {\bf Agraph\-\_\-t} $\ast$g1)
\item 
void {\bf fdp\-\_\-x\-Layout} ({\bf graph\-\_\-t} $\ast$g, {\bf xparams} $\ast$xpms)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{xlayout.\-c@{xlayout.\-c}!B\-O\-X@{B\-O\-X}}
\index{B\-O\-X@{B\-O\-X}!xlayout.c@{xlayout.\-c}}
\subsubsection[{B\-O\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-O\-X~/$\ast$ Use bbox to determine {\bf overlap}, {\bf else} use circles $\ast$/}\label{xlayout_8c_a23a390cc01279924f6190334c5fa97a0}


Definition at line 41 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!D\-F\-L\-T\-\_\-overlap@{D\-F\-L\-T\-\_\-overlap}}
\index{D\-F\-L\-T\-\_\-overlap@{D\-F\-L\-T\-\_\-overlap}!xlayout.c@{xlayout.\-c}}
\subsubsection[{D\-F\-L\-T\-\_\-overlap}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-F\-L\-T\-\_\-overlap~\char`\"{}9\-:prism\char`\"{}    /$\ast$ default {\bf overlap} value $\ast$/}\label{xlayout_8c_a471dbe8a5b1e6fc87cc07489f43693cb}


Definition at line 43 of file xlayout.\-c.



Referenced by fdp\-\_\-x\-Layout().

\index{xlayout.\-c@{xlayout.\-c}!E\-P\-S\-I\-L\-O\-N@{E\-P\-S\-I\-L\-O\-N}}
\index{E\-P\-S\-I\-L\-O\-N@{E\-P\-S\-I\-L\-O\-N}!xlayout.c@{xlayout.\-c}}
\subsubsection[{E\-P\-S\-I\-L\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-P\-S\-I\-L\-O\-N~0.\-01}\label{xlayout_8c_a002b2f4894492820fe708b1b7e7c5e70}


Definition at line 111 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E@{F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E}}
\index{F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E@{F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E}!xlayout.c@{xlayout.\-c}}
\subsubsection[{F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\-D\-P\-\_\-\-P\-R\-I\-V\-A\-T\-E~1}\label{xlayout_8c_a3fd46566e591740ecced40b59803d56c}


Definition at line 28 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!H\-T2@{H\-T2}}
\index{H\-T2@{H\-T2}!xlayout.c@{xlayout.\-c}}
\subsubsection[{H\-T2}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-T2(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~(X\-\_\-marg.\-do\-Add ? ({\bf N\-D\-\_\-height}(n)/2.\-0 + X\-\_\-marg.\-y)\-: {\bf N\-D\-\_\-height}(n)$\ast$X\-\_\-marg.\-y/2.\-0)}\label{xlayout_8c_a722f19337bbab3d46cff2fc92f9d2d9d}


Definition at line 46 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!W\-D2@{W\-D2}}
\index{W\-D2@{W\-D2}!xlayout.c@{xlayout.\-c}}
\subsubsection[{W\-D2}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\-D2(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~(X\-\_\-marg.\-do\-Add ? ({\bf N\-D\-\_\-width}(n)/2.\-0 + X\-\_\-marg.\-x)\-: {\bf N\-D\-\_\-width}(n)$\ast$X\-\_\-marg.\-x/2.\-0)}\label{xlayout_8c_a8a22b5a3584dac1f645239ff581a7e8a}


Definition at line 45 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!X\-\_\-\-C@{X\-\_\-\-C}}
\index{X\-\_\-\-C@{X\-\_\-\-C}!xlayout.c@{xlayout.\-c}}
\subsubsection[{X\-\_\-\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-\_\-\-C~{\bf x\-Params.\-C}}\label{xlayout_8c_a7aa18333e82150f5ccf902aeccbd79fc}


Definition at line 103 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!X\-\_\-\-K@{X\-\_\-\-K}}
\index{X\-\_\-\-K@{X\-\_\-\-K}!xlayout.c@{xlayout.\-c}}
\subsubsection[{X\-\_\-\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-\_\-\-K~x\-Params.\-K}\label{xlayout_8c_a2614e1ef6efbc949d65161d99380f30c}


Definition at line 100 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!X\-\_\-loopcnt@{X\-\_\-loopcnt}}
\index{X\-\_\-loopcnt@{X\-\_\-loopcnt}!xlayout.c@{xlayout.\-c}}
\subsubsection[{X\-\_\-loopcnt}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-\_\-loopcnt~x\-Params.\-loopcnt}\label{xlayout_8c_acaa181b78cf304a75a2a9e79f58cd26c}


Definition at line 102 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!X\-\_\-num\-Iters@{X\-\_\-num\-Iters}}
\index{X\-\_\-num\-Iters@{X\-\_\-num\-Iters}!xlayout.c@{xlayout.\-c}}
\subsubsection[{X\-\_\-num\-Iters}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-\_\-num\-Iters~x\-Params.\-num\-Iters}\label{xlayout_8c_a9c1eea06daea2ea908f3f14c31e90a04}


Definition at line 101 of file xlayout.\-c.

\index{xlayout.\-c@{xlayout.\-c}!X\-\_\-\-T0@{X\-\_\-\-T0}}
\index{X\-\_\-\-T0@{X\-\_\-\-T0}!xlayout.c@{xlayout.\-c}}
\subsubsection[{X\-\_\-\-T0}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\-\_\-\-T0~x\-Params.\-T0}\label{xlayout_8c_a0ea2131c7473912dde3d405a621e8643}


Definition at line 99 of file xlayout.\-c.



\subsection{Function Documentation}
\index{xlayout.\-c@{xlayout.\-c}!fdp\-\_\-x\-Layout@{fdp\-\_\-x\-Layout}}
\index{fdp\-\_\-x\-Layout@{fdp\-\_\-x\-Layout}!xlayout.c@{xlayout.\-c}}
\subsubsection[{fdp\-\_\-x\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}void fdp\-\_\-x\-Layout (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{{\bf xparams} $\ast$}]{xpms}
\end{DoxyParamCaption}
)}\label{xlayout_8c_ab8492c3c8c1cf1d7046d7c9209106f63}


Definition at line 525 of file xlayout.\-c.



References agget(), D\-F\-L\-T\-\_\-overlap, remove\-Overlap\-As(), and Verbose.

\index{xlayout.\-c@{xlayout.\-c}!pr2graphs@{pr2graphs}}
\index{pr2graphs@{pr2graphs}!xlayout.c@{xlayout.\-c}}
\subsubsection[{pr2graphs}]{\setlength{\rightskip}{0pt plus 5cm}void pr2graphs (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g0, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g1}
\end{DoxyParamCaption}
)}\label{xlayout_8c_a8b384259f945ccd7a5c3e157a25f62e5}


Definition at line 60 of file xlayout.\-c.



References agnameof().

