\section{lib/cgraph/cmpnd.c File Reference}
\label{cmpnd_8c}\index{lib/cgraph/cmpnd.\-c@{lib/cgraph/cmpnd.\-c}}
{\ttfamily \#include $<$cghdr.\-h$>$}\\*
Include dependency graph for cmpnd.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{cmpnd_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf Agcmpnode\-\_\-s}
\item 
struct {\bf Agcmpgraph\-\_\-s}
\item 
struct {\bf save\-\_\-e\-\_\-s}
\item 
struct {\bf save\-\_\-stack\-\_\-s}
\item 
struct {\bf Agcmpedge\-\_\-s}
\item 
struct {\bf Agsplice\-\_\-arg\-\_\-s}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf I\-N\-\_\-\-S\-T\-A\-C\-K}~0
\item 
\#define {\bf O\-U\-T\-\_\-\-S\-T\-A\-C\-K}~1
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf Agcmpnode\-\_\-s} {\bf Agcmpnode\-\_\-t}
\item 
typedef struct {\bf Agcmpgraph\-\_\-s} {\bf Agcmpgraph\-\_\-t}
\item 
typedef struct {\bf save\-\_\-e\-\_\-s} {\bf save\-\_\-e\-\_\-t}
\item 
typedef struct {\bf save\-\_\-stack\-\_\-s} {\bf save\-\_\-stack\-\_\-t}
\item 
typedef struct {\bf Agcmpedge\-\_\-s} {\bf Agcmpedge\-\_\-t}
\item 
typedef struct {\bf Agsplice\-\_\-arg\-\_\-s} {\bf Agsplice\-\_\-arg\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf agsplice} ({\bf Agedge\-\_\-t} $\ast$e, {\bf Agnode\-\_\-t} $\ast$target)
\item 
{\bf Agnode\-\_\-t} $\ast$ {\bf agcmpnode} ({\bf Agraph\-\_\-t} $\ast$g, char $\ast$name)
\item 
{\bf int} {\bf agassociate} ({\bf Agnode\-\_\-t} $\ast$n, {\bf Agraph\-\_\-t} $\ast${\bf sub})
\item 
{\bf int} {\bf aghide} ({\bf Agnode\-\_\-t} $\ast$cmpnode)
\item 
{\bf int} {\bf agexpose} ({\bf Agnode\-\_\-t} $\ast$cmpnode)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf agcmpgraph\-\_\-of} ({\bf Agnode\-\_\-t} $\ast$n)
\item 
{\bf Agnode\-\_\-t} $\ast$ {\bf agcmpnode\-\_\-of} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
{\bf Agnode\-\_\-t} $\ast$ {\bf agfindhidden} ({\bf Agraph\-\_\-t} $\ast$g, char $\ast$name)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{cmpnd.\-c@{cmpnd.\-c}!I\-N\-\_\-\-S\-T\-A\-C\-K@{I\-N\-\_\-\-S\-T\-A\-C\-K}}
\index{I\-N\-\_\-\-S\-T\-A\-C\-K@{I\-N\-\_\-\-S\-T\-A\-C\-K}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{I\-N\-\_\-\-S\-T\-A\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-\_\-\-S\-T\-A\-C\-K~0}\label{cmpnd_8c_a692e83a2bb243e34a3093a22cdf0b58d}


Definition at line 59 of file cmpnd.\-c.

\index{cmpnd.\-c@{cmpnd.\-c}!O\-U\-T\-\_\-\-S\-T\-A\-C\-K@{O\-U\-T\-\_\-\-S\-T\-A\-C\-K}}
\index{O\-U\-T\-\_\-\-S\-T\-A\-C\-K@{O\-U\-T\-\_\-\-S\-T\-A\-C\-K}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{O\-U\-T\-\_\-\-S\-T\-A\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define O\-U\-T\-\_\-\-S\-T\-A\-C\-K~1}\label{cmpnd_8c_a61dfbb72365f419974df236bd69d749d}


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



\subsection{Typedef Documentation}
\index{cmpnd.\-c@{cmpnd.\-c}!Agcmpedge\-\_\-t@{Agcmpedge\-\_\-t}}
\index{Agcmpedge\-\_\-t@{Agcmpedge\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{Agcmpedge\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Agcmpedge\-\_\-s}  {\bf Agcmpedge\-\_\-t}}\label{cmpnd_8c_af027e4c4780055f4bfdd6301258ecb76}
\index{cmpnd.\-c@{cmpnd.\-c}!Agcmpgraph\-\_\-t@{Agcmpgraph\-\_\-t}}
\index{Agcmpgraph\-\_\-t@{Agcmpgraph\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{Agcmpgraph\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Agcmpgraph\-\_\-s}  {\bf Agcmpgraph\-\_\-t}}\label{cmpnd_8c_aad432f4ab5c592c8f77a13e769a970fc}
\index{cmpnd.\-c@{cmpnd.\-c}!Agcmpnode\-\_\-t@{Agcmpnode\-\_\-t}}
\index{Agcmpnode\-\_\-t@{Agcmpnode\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{Agcmpnode\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Agcmpnode\-\_\-s}  {\bf Agcmpnode\-\_\-t}}\label{cmpnd_8c_a05695602290c2e42ef829ecef5d73e2b}
\index{cmpnd.\-c@{cmpnd.\-c}!Agsplice\-\_\-arg\-\_\-t@{Agsplice\-\_\-arg\-\_\-t}}
\index{Agsplice\-\_\-arg\-\_\-t@{Agsplice\-\_\-arg\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{Agsplice\-\_\-arg\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Agsplice\-\_\-arg\-\_\-s}  {\bf Agsplice\-\_\-arg\-\_\-t}}\label{cmpnd_8c_ac50360290e57eb53e4ee361bd5fa5da5}
\index{cmpnd.\-c@{cmpnd.\-c}!save\-\_\-e\-\_\-t@{save\-\_\-e\-\_\-t}}
\index{save\-\_\-e\-\_\-t@{save\-\_\-e\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{save\-\_\-e\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf save\-\_\-e\-\_\-s}  {\bf save\-\_\-e\-\_\-t}}\label{cmpnd_8c_af75158bc716ee1acfb02eb6401d14446}
\index{cmpnd.\-c@{cmpnd.\-c}!save\-\_\-stack\-\_\-t@{save\-\_\-stack\-\_\-t}}
\index{save\-\_\-stack\-\_\-t@{save\-\_\-stack\-\_\-t}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{save\-\_\-stack\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf save\-\_\-stack\-\_\-s}  {\bf save\-\_\-stack\-\_\-t}}\label{cmpnd_8c_a9c84e8bfca298929ed8c5385d2adcc5b}


\subsection{Function Documentation}
\index{cmpnd.\-c@{cmpnd.\-c}!agassociate@{agassociate}}
\index{agassociate@{agassociate}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agassociate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agassociate (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{n, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{sub}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_a39616363aff75fc582b1cb01f021a17e}


Definition at line 186 of file cmpnd.\-c.



References agbindrec(), agsubnode(), F\-A\-I\-L\-U\-R\-E, F\-A\-L\-S\-E, Agcmpgraph\-\_\-s\-::node, sub, Agcmpnode\-\_\-s\-::subg, and S\-U\-C\-C\-E\-S\-S.



Referenced by agcmpnode().

\index{cmpnd.\-c@{cmpnd.\-c}!agcmpgraph\-\_\-of@{agcmpgraph\-\_\-of}}
\index{agcmpgraph\-\_\-of@{agcmpgraph\-\_\-of}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agcmpgraph\-\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ agcmpgraph\-\_\-of (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_aa65474be0b7b4abab7aff32e3c67a444}


Definition at line 354 of file cmpnd.\-c.



References aggetrec(), Agcmpnode\-\_\-s\-::collapsed, F\-A\-L\-S\-E, N\-I\-Lgraph, N\-O\-T, and Agcmpnode\-\_\-s\-::subg.



Referenced by aghide().

\index{cmpnd.\-c@{cmpnd.\-c}!agcmpnode@{agcmpnode}}
\index{agcmpnode@{agcmpnode}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agcmpnode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agnode\-\_\-t}$\ast$ agcmpnode (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_aa7f226ac7f6b8999a9e0137ebac682ba}


Definition at line 174 of file cmpnd.\-c.



References agassociate(), agnode(), agsubg(), N\-I\-Lnode, and T\-R\-U\-E.

\index{cmpnd.\-c@{cmpnd.\-c}!agcmpnode\-\_\-of@{agcmpnode\-\_\-of}}
\index{agcmpnode\-\_\-of@{agcmpnode\-\_\-of}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agcmpnode\-\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agnode\-\_\-t}$\ast$ agcmpnode\-\_\-of (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_aac1b7ad70da6b147a831659dce135a71}


Definition at line 364 of file cmpnd.\-c.



References aggetrec(), F\-A\-L\-S\-E, N\-I\-Lnode, and Agcmpgraph\-\_\-s\-::node.

\index{cmpnd.\-c@{cmpnd.\-c}!agexpose@{agexpose}}
\index{agexpose@{agexpose}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agexpose}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agexpose (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{cmpnode}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_af8b9f0b4f8c75f06cd3311ad770276c2}


Definition at line 304 of file cmpnd.\-c.



References agfstedge(), agfstnode(), aggetrec(), A\-G\-I\-D, agnxtedge(), agnxtnode(), A\-G\-O\-P\-P, agparent(), agraphof(), agroot(), agsplice(), agsubnode(), Agcmpnode\-\_\-s\-::collapsed, F\-A\-I\-L\-U\-R\-E, F\-A\-L\-S\-E, save\-\_\-e\-\_\-s\-::from, N\-I\-L, Agedge\-\_\-s\-::node, N\-O\-T, Agcmpedge\-\_\-s\-::stack, Agcmpnode\-\_\-s\-::subg, S\-U\-C\-C\-E\-S\-S, and save\-\_\-e\-\_\-s\-::to.

\index{cmpnd.\-c@{cmpnd.\-c}!agfindhidden@{agfindhidden}}
\index{agfindhidden@{agfindhidden}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agfindhidden}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agnode\-\_\-t}$\ast$ agfindhidden (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_a6b2835ec71b8aeea705705ffd72dc0a4}


Definition at line 374 of file cmpnd.\-c.



References aggetrec(), dtsearch, F\-A\-L\-S\-E, Agcmpgraph\-\_\-s\-::hidden\-\_\-node\-\_\-set, and N\-I\-Lnode.

\index{cmpnd.\-c@{cmpnd.\-c}!aghide@{aghide}}
\index{aghide@{aghide}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{aghide}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} aghide (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{cmpnode}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_af092cf78a12fa3fa96fc92384e48dfb4}


Definition at line 234 of file cmpnd.\-c.



References agcmpgraph\-\_\-of(), agdelnode(), agdelsubg(), agfstedge(), agfstnode(), aggetrec(), agnxtedge(), agnxtnode(), A\-G\-O\-P\-P, agparent(), agraphof(), agroot(), agsplice(), agsubedge(), agsubnode(), Agcmpnode\-\_\-s\-::collapsed, Agraph\-\_\-s\-::desc, F\-A\-I\-L\-U\-R\-E, F\-A\-L\-S\-E, Agdesc\-\_\-s\-::has\-\_\-cmpnd, N\-I\-Lgraph, Agcmpnode\-\_\-s\-::subg, S\-U\-C\-C\-E\-S\-S, and T\-R\-U\-E.

\index{cmpnd.\-c@{cmpnd.\-c}!agsplice@{agsplice}}
\index{agsplice@{agsplice}!cmpnd.c@{cmpnd.\-c}}
\subsubsection[{agsplice}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agsplice (
\begin{DoxyParamCaption}
\item[{{\bf Agedge\-\_\-t} $\ast$}]{e, }
\item[{{\bf Agnode\-\_\-t} $\ast$}]{target}
\end{DoxyParamCaption}
)}\label{cmpnd_8c_a733137740b5d8f00f9a59101c4cd6bf3}


Definition at line 155 of file cmpnd.\-c.



References agapply(), A\-G\-H\-E\-A\-D, agraphof(), agroot(), A\-G\-T\-A\-I\-L, F\-A\-I\-L\-U\-R\-E, Agsplice\-\_\-arg\-\_\-s\-::head\-\_\-side, N\-I\-Ledge, Agedge\-\_\-s\-::node, S\-U\-C\-C\-E\-S\-S, Agsplice\-\_\-arg\-\_\-s\-::target, and T\-R\-U\-E.



Referenced by agexpose(), and aghide().

