\section{lib/pack/pack.c File Reference}
\label{pack_8c}\index{lib/pack/pack.\-c@{lib/pack/pack.\-c}}
{\ttfamily \#include $<$math.\-h$>$}\\*
{\ttfamily \#include $<$assert.\-h$>$}\\*
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}pack.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}pointset.\-h\char`\"{}}\\*
Include dependency graph for pack.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{pack_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf ginfo}
\item 
struct {\bf ainfo}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf strneq}(a, b, n)~(!strncmp(a,b,n))
\item 
\#define {\bf C}~100			/$\ast$ Max. avg. polyomino size $\ast$/
\item 
\#define {\bf M\-O\-V\-E\-P\-T}(p)~((p).x += dx, (p).y += dy)
\item 
\#define {\bf G\-R\-I\-D}(x, {\bf s})~(({\bf int})ceil((x)/({\bf s})))
\item 
\#define {\bf C\-V\-A\-L}(v, {\bf s})~((v) $>$= 0 ? (v)/({\bf s}) \-: (((v)+1)/({\bf s}))-\/1)
\item 
\#define {\bf C\-E\-L\-L}(p, {\bf s})~((p).x = {\bf C\-V\-A\-L}((p).x,{\bf s}), (p).y = {\bf C\-V\-A\-L}((p).y,({\bf s})))
\item 
\#define {\bf I\-N\-C}(m, c, r)
\item 
\#define {\bf A\-R\-R\-A\-Y}~\char`\"{}array\char`\"{}
\item 
\#define {\bf A\-S\-P\-E\-C\-T}~\char`\"{}aspect\char`\"{}
\item 
\#define {\bf S\-L\-E\-N}({\bf s})~(sizeof({\bf s})/sizeof(char) -\/ 1)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf fill\-Line} ({\bf pointf} p, {\bf pointf} q, {\bf Point\-Set} $\ast$ps)
\item 
{\bf point} $\ast$ {\bf put\-Graphs} ({\bf int} ng, {\bf Agraph\-\_\-t} $\ast$$\ast$gs, {\bf Agraph\-\_\-t} $\ast$root, {\bf pack\-\_\-info} $\ast$pinfo)
\item 
{\bf point} $\ast$ {\bf put\-Rects} ({\bf int} ng, {\bf boxf} $\ast$bbs, {\bf pack\-\_\-info} $\ast$pinfo)
\item 
{\bf int} {\bf pack\-Rects} ({\bf int} ng, {\bf boxf} $\ast$bbs, {\bf pack\-\_\-info} $\ast$pinfo)
\item 
{\bf int} {\bf shift\-Graphs} ({\bf int} ng, {\bf Agraph\-\_\-t} $\ast$$\ast$gs, {\bf point} $\ast$pp, {\bf Agraph\-\_\-t} $\ast$root, {\bf int} do\-Splines)
\item 
{\bf int} {\bf pack\-Graphs} ({\bf int} ng, {\bf Agraph\-\_\-t} $\ast$$\ast$gs, {\bf Agraph\-\_\-t} $\ast$root, {\bf pack\-\_\-info} $\ast${\bf info})
\item 
{\bf int} {\bf pack\-Subgraphs} ({\bf int} ng, {\bf Agraph\-\_\-t} $\ast$$\ast$gs, {\bf Agraph\-\_\-t} $\ast$root, {\bf pack\-\_\-info} $\ast${\bf info})
\item 
{\bf int} {\bf pack\-\_\-graph} ({\bf int} ng, {\bf Agraph\-\_\-t} $\ast$$\ast$gs, {\bf Agraph\-\_\-t} $\ast$root, {\bf boolean} $\ast$fixed)
\item 
{\bf pack\-\_\-mode} {\bf parse\-Pack\-Mode\-Info} (char $\ast$p, {\bf pack\-\_\-mode} dflt, {\bf pack\-\_\-info} $\ast$pinfo)
\item 
{\bf pack\-\_\-mode} {\bf get\-Pack\-Mode\-Info} ({\bf Agraph\-\_\-t} $\ast$g, {\bf pack\-\_\-mode} dflt, {\bf pack\-\_\-info} $\ast$pinfo)
\item 
{\bf pack\-\_\-mode} {\bf get\-Pack\-Mode} ({\bf Agraph\-\_\-t} $\ast$g, {\bf pack\-\_\-mode} dflt)
\item 
{\bf int} {\bf get\-Pack} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} not\-\_\-def, {\bf int} dflt)
\item 
{\bf pack\-\_\-mode} {\bf get\-Pack\-Info} ({\bf Agraph\-\_\-t} $\ast$g, {\bf pack\-\_\-mode} dflt, {\bf int} dflt\-Margin, {\bf pack\-\_\-info} $\ast$pinfo)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{pack.\-c@{pack.\-c}!A\-R\-R\-A\-Y@{A\-R\-R\-A\-Y}}
\index{A\-R\-R\-A\-Y@{A\-R\-R\-A\-Y}!pack.c@{pack.\-c}}
\subsubsection[{A\-R\-R\-A\-Y}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\-R\-R\-A\-Y~\char`\"{}array\char`\"{}}\label{pack_8c_af579248b8d4c16c0aeba3dff9ee8b10a}


Definition at line 1203 of file pack.\-c.



Referenced by parse\-Pack\-Mode\-Info().

\index{pack.\-c@{pack.\-c}!A\-S\-P\-E\-C\-T@{A\-S\-P\-E\-C\-T}}
\index{A\-S\-P\-E\-C\-T@{A\-S\-P\-E\-C\-T}!pack.c@{pack.\-c}}
\subsubsection[{A\-S\-P\-E\-C\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\-S\-P\-E\-C\-T~\char`\"{}aspect\char`\"{}}\label{pack_8c_ac794698c898f1c74cc44572f4686bd44}


Definition at line 1204 of file pack.\-c.



Referenced by parse\-Pack\-Mode\-Info().

\index{pack.\-c@{pack.\-c}!C@{C}}
\index{C@{C}!pack.c@{pack.\-c}}
\subsubsection[{C}]{\setlength{\rightskip}{0pt plus 5cm}\#define C~100			/$\ast$ Max. avg. polyomino size $\ast$/}\label{pack_8c_ac4cf4b2ab929bd23951a8676eeac086b}


Definition at line 29 of file pack.\-c.



Referenced by colorxlate(), gvdevice\-\_\-gd\-\_\-put\-C(), mult\-\_\-dense\-\_\-mat(), mult\-\_\-dense\-\_\-mat\-\_\-d(), mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose(), round\-\_\-corners(), Sparse\-Matrix\-\_\-add(), Sparse\-Matrix\-\_\-distance\-\_\-matrix\-\_\-k\-\_\-centers(), Sparse\-Matrix\-\_\-distance\-\_\-matrix\-\_\-khops(), Sparse\-Matrix\-\_\-multiply(), spring\-\_\-electrical\-\_\-embedding(), spring\-\_\-electrical\-\_\-embedding\-\_\-fast(), spring\-\_\-electrical\-\_\-embedding\-\_\-slow(), spring\-\_\-electrical\-\_\-spring\-\_\-embedding(), and spring\-\_\-maxent\-\_\-embedding().

\index{pack.\-c@{pack.\-c}!C\-E\-L\-L@{C\-E\-L\-L}}
\index{C\-E\-L\-L@{C\-E\-L\-L}!pack.c@{pack.\-c}}
\subsubsection[{C\-E\-L\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-E\-L\-L(
\begin{DoxyParamCaption}
\item[{}]{p, }
\item[{}]{{\bf s}}
\end{DoxyParamCaption}
)~((p).x = {\bf C\-V\-A\-L}((p).x,{\bf s}), (p).y = {\bf C\-V\-A\-L}((p).y,({\bf s})))}\label{pack_8c_a5c7e67ca6dbadd1c0c2c7eb3bfee1c09}


Definition at line 37 of file pack.\-c.

\index{pack.\-c@{pack.\-c}!C\-V\-A\-L@{C\-V\-A\-L}}
\index{C\-V\-A\-L@{C\-V\-A\-L}!pack.c@{pack.\-c}}
\subsubsection[{C\-V\-A\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-V\-A\-L(
\begin{DoxyParamCaption}
\item[{}]{v, }
\item[{}]{{\bf s}}
\end{DoxyParamCaption}
)~((v) $>$= 0 ? (v)/({\bf s}) \-: (((v)+1)/({\bf s}))-\/1)}\label{pack_8c_a1d7895f4d27c79177cbab51083e9a32e}


Definition at line 35 of file pack.\-c.

\index{pack.\-c@{pack.\-c}!G\-R\-I\-D@{G\-R\-I\-D}}
\index{G\-R\-I\-D@{G\-R\-I\-D}!pack.c@{pack.\-c}}
\subsubsection[{G\-R\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-R\-I\-D(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{{\bf s}}
\end{DoxyParamCaption}
)~(({\bf int})ceil((x)/({\bf s})))}\label{pack_8c_ac25b1d932142e83f18825b81d2057a3e}


Definition at line 33 of file pack.\-c.

\index{pack.\-c@{pack.\-c}!I\-N\-C@{I\-N\-C}}
\index{I\-N\-C@{I\-N\-C}!pack.c@{pack.\-c}}
\subsubsection[{I\-N\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-C(
\begin{DoxyParamCaption}
\item[{}]{m, }
\item[{}]{c, }
\item[{}]{r}
\end{DoxyParamCaption}
)}\label{pack_8c_ac17d0ec2c0f0a1d81a8066dfb3e2018f}
{\bfseries Value\-:}
\begin{DoxyCode}
\textcolor{keywordflow}{if} (m)\{ c++; \textcolor{keywordflow}{if} (c == nc) \{ c = 0; r++; \} \} \
    else \{ r++; \textcolor{keywordflow}{if} (r == nr) \{ r = 0; c++; \} \}
\end{DoxyCode}


Definition at line 603 of file pack.\-c.

\index{pack.\-c@{pack.\-c}!M\-O\-V\-E\-P\-T@{M\-O\-V\-E\-P\-T}}
\index{M\-O\-V\-E\-P\-T@{M\-O\-V\-E\-P\-T}!pack.c@{pack.\-c}}
\subsubsection[{M\-O\-V\-E\-P\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-O\-V\-E\-P\-T(
\begin{DoxyParamCaption}
\item[{}]{p}
\end{DoxyParamCaption}
)~((p).x += dx, (p).y += dy)}\label{pack_8c_a0892c75df6154a395073178b741739b5}


Definition at line 31 of file pack.\-c.



Referenced by shift\-Graphs().

\index{pack.\-c@{pack.\-c}!S\-L\-E\-N@{S\-L\-E\-N}}
\index{S\-L\-E\-N@{S\-L\-E\-N}!pack.c@{pack.\-c}}
\subsubsection[{S\-L\-E\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-L\-E\-N(
\begin{DoxyParamCaption}
\item[{}]{{\bf s}}
\end{DoxyParamCaption}
)~(sizeof({\bf s})/sizeof(char) -\/ 1)}\label{pack_8c_aceb308156e5ca2b43865632ca309f14c}


Definition at line 1205 of file pack.\-c.



Referenced by parse\-Pack\-Mode\-Info().

\index{pack.\-c@{pack.\-c}!strneq@{strneq}}
\index{strneq@{strneq}!pack.c@{pack.\-c}}
\subsubsection[{strneq}]{\setlength{\rightskip}{0pt plus 5cm}\#define strneq(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{b, }
\item[{}]{n}
\end{DoxyParamCaption}
)~(!strncmp(a,b,n))}\label{pack_8c_aa66ad78050e7fca87180af80bae821be}


Definition at line 27 of file pack.\-c.



Referenced by parse\-Pack\-Mode\-Info().



\subsection{Function Documentation}
\index{pack.\-c@{pack.\-c}!fill\-Line@{fill\-Line}}
\index{fill\-Line@{fill\-Line}!pack.c@{pack.\-c}}
\subsubsection[{fill\-Line}]{\setlength{\rightskip}{0pt plus 5cm}void fill\-Line (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{p, }
\item[{{\bf pointf}}]{q, }
\item[{{\bf Point\-Set} $\ast$}]{ps}
\end{DoxyParamCaption}
)}\label{pack_8c_abc3a62bcd7a63d099864283812e4b556}


Definition at line 112 of file pack.\-c.



References A\-B\-S, add\-P\-S(), R\-O\-U\-N\-D, S\-G\-N, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.

\index{pack.\-c@{pack.\-c}!get\-Pack@{get\-Pack}}
\index{get\-Pack@{get\-Pack}!pack.c@{pack.\-c}}
\subsubsection[{get\-Pack}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} get\-Pack (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{not\-\_\-def, }
\item[{{\bf int}}]{dflt}
\end{DoxyParamCaption}
)}\label{pack_8c_a8f59102eb0b9c71984a8ecfcea8c62ca}


Definition at line 1381 of file pack.\-c.



References agget().



Referenced by compound\-Edges(), get\-Pack\-Info(), and neato\-\_\-layout().

\index{pack.\-c@{pack.\-c}!get\-Pack\-Info@{get\-Pack\-Info}}
\index{get\-Pack\-Info@{get\-Pack\-Info}!pack.c@{pack.\-c}}
\subsubsection[{get\-Pack\-Info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pack\-\_\-mode} get\-Pack\-Info (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf pack\-\_\-mode}}]{dflt, }
\item[{{\bf int}}]{dflt\-Margin, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_ac845a56bab5f2bb91d50a7527079733f}


Definition at line 1398 of file pack.\-c.



References assert, pack\-\_\-info\-::do\-Splines, pack\-\_\-info\-::fixed, get\-Pack(), get\-Pack\-Mode\-Info(), pack\-\_\-info\-::margin, pack\-\_\-info\-::mode, and Verbose.



Referenced by circo\-Layout(), pack\-\_\-graph(), sfdp\-\_\-layout(), and twopi\-\_\-layout().

\index{pack.\-c@{pack.\-c}!get\-Pack\-Mode@{get\-Pack\-Mode}}
\index{get\-Pack\-Mode@{get\-Pack\-Mode}!pack.c@{pack.\-c}}
\subsubsection[{get\-Pack\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pack\-\_\-mode} get\-Pack\-Mode (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf pack\-\_\-mode}}]{dflt}
\end{DoxyParamCaption}
)}\label{pack_8c_a51784ccf6fe31a84181eada834a3b804}


Definition at line 1370 of file pack.\-c.



References get\-Pack\-Mode\-Info().

\index{pack.\-c@{pack.\-c}!get\-Pack\-Mode\-Info@{get\-Pack\-Mode\-Info}}
\index{get\-Pack\-Mode\-Info@{get\-Pack\-Mode\-Info}!pack.c@{pack.\-c}}
\subsubsection[{get\-Pack\-Mode\-Info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pack\-\_\-mode} get\-Pack\-Mode\-Info (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf pack\-\_\-mode}}]{dflt, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_a09f820c2a37eb773247a13daf83f6dd6}


Definition at line 1364 of file pack.\-c.



References agget(), and parse\-Pack\-Mode\-Info().



Referenced by get\-Pack\-Info(), get\-Pack\-Mode(), and neato\-\_\-layout().

\index{pack.\-c@{pack.\-c}!pack\-\_\-graph@{pack\-\_\-graph}}
\index{pack\-\_\-graph@{pack\-\_\-graph}!pack.c@{pack.\-c}}
\subsubsection[{pack\-\_\-graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} pack\-\_\-graph (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf Agraph\-\_\-t} $\ast$$\ast$}]{gs, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{root, }
\item[{{\bf boolean} $\ast$}]{fixed}
\end{DoxyParamCaption}
)}\label{pack_8c_a9b613a58b8ac479672b03a5cc98389f9}


Definition at line 1190 of file pack.\-c.



References C\-L\-\_\-\-O\-F\-F\-S\-E\-T, pack\-\_\-info\-::do\-Splines, dotneato\-\_\-postprocess(), pack\-\_\-info\-::fixed, get\-Pack\-Info(), l\-\_\-graph, and pack\-Subgraphs().

\index{pack.\-c@{pack.\-c}!pack\-Graphs@{pack\-Graphs}}
\index{pack\-Graphs@{pack\-Graphs}!pack.c@{pack.\-c}}
\subsubsection[{pack\-Graphs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} pack\-Graphs (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf Agraph\-\_\-t} $\ast$$\ast$}]{gs, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{root, }
\item[{{\bf pack\-\_\-info} $\ast$}]{info}
\end{DoxyParamCaption}
)}\label{pack_8c_aa3e1e3b89cb57e09ec83fb29999bef6b}


Definition at line 1145 of file pack.\-c.



References pack\-\_\-info\-::do\-Splines, put\-Graphs(), and shift\-Graphs().



Referenced by main(), neato\-\_\-layout(), and pack\-Subgraphs().

\index{pack.\-c@{pack.\-c}!pack\-Rects@{pack\-Rects}}
\index{pack\-Rects@{pack\-Rects}!pack.c@{pack.\-c}}
\subsubsection[{pack\-Rects}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} pack\-Rects (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf boxf} $\ast$}]{bbs, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_a364b86a15d3afba8632c15da993ee09f}


Definition at line 982 of file pack.\-c.



References boxf\-::\-L\-L, put\-Rects(), boxf\-::\-U\-R, point\-::x, pointf\-\_\-s\-::x, point\-::y, and pointf\-\_\-s\-::y.

\index{pack.\-c@{pack.\-c}!pack\-Subgraphs@{pack\-Subgraphs}}
\index{pack\-Subgraphs@{pack\-Subgraphs}!pack.c@{pack.\-c}}
\subsubsection[{pack\-Subgraphs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} pack\-Subgraphs (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf Agraph\-\_\-t} $\ast$$\ast$}]{gs, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{root, }
\item[{{\bf pack\-\_\-info} $\ast$}]{info}
\end{DoxyParamCaption}
)}\label{pack_8c_a9cb22deb5ff81138f4cb87bb95a19ab3}


Definition at line 1163 of file pack.\-c.



References compute\-\_\-bb(), E\-X\-P\-A\-N\-D\-B\-B, G\-D\-\_\-bb, G\-D\-\_\-clust, G\-D\-\_\-n\-\_\-cluster, and pack\-Graphs().



Referenced by circo\-Layout(), pack\-\_\-graph(), sfdp\-\_\-layout(), and twopi\-\_\-layout().

\index{pack.\-c@{pack.\-c}!parse\-Pack\-Mode\-Info@{parse\-Pack\-Mode\-Info}}
\index{parse\-Pack\-Mode\-Info@{parse\-Pack\-Mode\-Info}!pack.c@{pack.\-c}}
\subsubsection[{parse\-Pack\-Mode\-Info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pack\-\_\-mode} parse\-Pack\-Mode\-Info (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{p, }
\item[{{\bf pack\-\_\-mode}}]{dflt, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_aba83e2ab7794070d1c994c75697c8a7f}


Definition at line 1287 of file pack.\-c.



References A\-R\-R\-A\-Y, pack\-\_\-info\-::aspect, A\-S\-P\-E\-C\-T, assert, pack\-\_\-info\-::flags, l\-\_\-array, l\-\_\-aspect, l\-\_\-clust, l\-\_\-graph, l\-\_\-node, pack\-\_\-info\-::mode, N\-U\-L\-L, S\-L\-E\-N, streq, strneq, pack\-\_\-info\-::sz, pack\-\_\-info\-::vals, and Verbose.



Referenced by get\-Pack\-Mode\-Info().

\index{pack.\-c@{pack.\-c}!put\-Graphs@{put\-Graphs}}
\index{put\-Graphs@{put\-Graphs}!pack.c@{pack.\-c}}
\subsubsection[{put\-Graphs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf point}$\ast$ put\-Graphs (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf Agraph\-\_\-t} $\ast$$\ast$}]{gs, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{root, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_aabfe29423673135623abc2ff9056d7ff}


Definition at line 916 of file pack.\-c.



References agget(), compute\-\_\-bb(), pack\-\_\-info\-::flags, G\-D\-\_\-bb, l\-\_\-array, l\-\_\-graph, pack\-\_\-info\-::mode, N\-\_\-\-G\-N\-E\-W, N\-\_\-\-N\-E\-W, N\-U\-L\-L, P\-K\-\_\-\-U\-S\-E\-R\-\_\-\-V\-A\-L\-S, and pack\-\_\-info\-::vals.



Referenced by pack\-Graphs().

\index{pack.\-c@{pack.\-c}!put\-Rects@{put\-Rects}}
\index{put\-Rects@{put\-Rects}!pack.c@{pack.\-c}}
\subsubsection[{put\-Rects}]{\setlength{\rightskip}{0pt plus 5cm}{\bf point}$\ast$ put\-Rects (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf boxf} $\ast$}]{bbs, }
\item[{{\bf pack\-\_\-info} $\ast$}]{pinfo}
\end{DoxyParamCaption}
)}\label{pack_8c_a2c15ca6c9eb82debf293160e55116a98}


Definition at line 959 of file pack.\-c.



References l\-\_\-array, l\-\_\-clust, l\-\_\-graph, l\-\_\-node, pack\-\_\-info\-::mode, and N\-U\-L\-L.



Referenced by pack\-Rects().

\index{pack.\-c@{pack.\-c}!shift\-Graphs@{shift\-Graphs}}
\index{shift\-Graphs@{shift\-Graphs}!pack.c@{pack.\-c}}
\subsubsection[{shift\-Graphs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} shift\-Graphs (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{ng, }
\item[{{\bf Agraph\-\_\-t} $\ast$$\ast$}]{gs, }
\item[{{\bf point} $\ast$}]{pp, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{root, }
\item[{{\bf int}}]{do\-Splines}
\end{DoxyParamCaption}
)}\label{pack_8c_a7247a0149aab508447bdbec4733fdd49}


Definition at line 1088 of file pack.\-c.



References agfstnode(), agfstout(), agnxtnode(), agnxtout(), M\-O\-V\-E\-P\-T, N\-D\-\_\-coord, N\-D\-\_\-pos, N\-D\-\_\-xlabel, P\-S2\-I\-N\-C\-H, point\-::x, and point\-::y.



Referenced by pack\-Graphs().

