\section{lib/cgraph/obj.c File Reference}
\label{obj_8c}\index{lib/cgraph/obj.\-c@{lib/cgraph/obj.\-c}}
{\ttfamily \#include $<$cghdr.\-h$>$}\\*
Include dependency graph for obj.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{obj_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf agdelete} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj)
\item 
{\bf int} {\bf agrename} ({\bf Agobj\-\_\-t} $\ast$obj, char $\ast$newname)
\item 
void {\bf agmethod\-\_\-init} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj)
\item 
void {\bf aginitcb} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj, {\bf Agcbstack\-\_\-t} $\ast$cbstack)
\item 
void {\bf agmethod\-\_\-upd} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj, {\bf Agsym\-\_\-t} $\ast$sym)
\item 
void {\bf agupdcb} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj, {\bf Agsym\-\_\-t} $\ast$sym, {\bf Agcbstack\-\_\-t} $\ast$cbstack)
\item 
void {\bf agmethod\-\_\-delete} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj)
\item 
void {\bf agdelcb} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj, {\bf Agcbstack\-\_\-t} $\ast$cbstack)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf agroot} (void $\ast$obj)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf agraphof} (void $\ast$obj)
\item 
void {\bf agpushdisc} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Agcbdisc\-\_\-t} $\ast$cbd, void $\ast$state)
\item 
{\bf int} {\bf agpopdisc} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Agcbdisc\-\_\-t} $\ast$cbd)
\item 
void $\ast$ {\bf aggetuserptr} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Agcbdisc\-\_\-t} $\ast$cbd)
\item 
{\bf int} {\bf agcontains} ({\bf Agraph\-\_\-t} $\ast$g, void $\ast$obj)
\item 
{\bf int} {\bf agobjkind} (void $\ast$arg)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{obj.\-c@{obj.\-c}!agcontains@{agcontains}}
\index{agcontains@{agcontains}!obj.c@{obj.\-c}}
\subsubsection[{agcontains}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agcontains (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_affd28057d0a29ab670d3a53e27593fd9}


Definition at line 245 of file obj.\-c.



References A\-G\-I\-D, agidnode(), A\-G\-N\-O\-D\-E, agparent(), A\-G\-R\-A\-P\-H, agroot(), agsubedge(), and A\-G\-T\-Y\-P\-E.



Referenced by interclexp(), and twopi\-\_\-layout().

\index{obj.\-c@{obj.\-c}!agdelcb@{agdelcb}}
\index{agdelcb@{agdelcb}!obj.c@{obj.\-c}}
\subsubsection[{agdelcb}]{\setlength{\rightskip}{0pt plus 5cm}void agdelcb (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj, }
\item[{{\bf Agcbstack\-\_\-t} $\ast$}]{cbstack}
\end{DoxyParamCaption}
)}\label{obj_8c_a8169bdaebc3edb09cfe36116ff16657d}


Definition at line 146 of file obj.\-c.



References agdelcb(), A\-G\-E\-D\-G\-E, A\-G\-N\-O\-D\-E, A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, Agcbdisc\-\_\-s\-::del, Agcbdisc\-\_\-s\-::edge, Agcbstack\-\_\-s\-::f, Agcbdisc\-\_\-s\-::graph, N\-I\-L, Agcbdisc\-\_\-s\-::node, Agcbstack\-\_\-s\-::prev, and Agcbstack\-\_\-s\-::state.



Referenced by agdelcb(), and agmethod\-\_\-delete().

\index{obj.\-c@{obj.\-c}!agdelete@{agdelete}}
\index{agdelete@{agdelete}!obj.c@{obj.\-c}}
\subsubsection[{agdelete}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agdelete (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_abcbf6751e63f400afe00282327d65392}


Definition at line 16 of file obj.\-c.



References agclose(), agdeledge(), agdelnode(), agerr(), A\-G\-E\-R\-R, A\-G\-I\-N\-E\-D\-G\-E, A\-G\-N\-O\-D\-E, A\-G\-O\-U\-T\-E\-D\-G\-E, agparent(), A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, F\-A\-I\-L\-U\-R\-E, and S\-U\-C\-C\-E\-S\-S.



Referenced by cccomps(), delete\-Edge(), delete\-Node(), main(), mark\-\_\-clusters(), neato\-\_\-layout(), process\-Cluster\-Edges(), rm(), scan\-\_\-graph\-\_\-mode(), sfdp\-\_\-layout(), twopi\-\_\-layout(), and undo\-Cluster\-Edges().

\index{obj.\-c@{obj.\-c}!aggetuserptr@{aggetuserptr}}
\index{aggetuserptr@{aggetuserptr}!obj.c@{obj.\-c}}
\subsubsection[{aggetuserptr}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ aggetuserptr (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Agcbdisc\-\_\-t} $\ast$}]{cbd}
\end{DoxyParamCaption}
)}\label{obj_8c_adf18118c4157d7a3f20a13c3816acbe7}


Definition at line 235 of file obj.\-c.



References Agclos\-\_\-s\-::cb, Agraph\-\_\-s\-::clos, Agcbstack\-\_\-s\-::f, N\-I\-L, Agcbstack\-\_\-s\-::prev, and Agcbstack\-\_\-s\-::state.

\index{obj.\-c@{obj.\-c}!aginitcb@{aginitcb}}
\index{aginitcb@{aginitcb}!obj.c@{obj.\-c}}
\subsubsection[{aginitcb}]{\setlength{\rightskip}{0pt plus 5cm}void aginitcb (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj, }
\item[{{\bf Agcbstack\-\_\-t} $\ast$}]{cbstack}
\end{DoxyParamCaption}
)}\label{obj_8c_aed5df031abb753e41da9e2d55bcf8bb8}


Definition at line 84 of file obj.\-c.



References A\-G\-E\-D\-G\-E, aginitcb(), A\-G\-N\-O\-D\-E, A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, Agcbdisc\-\_\-s\-::edge, Agcbstack\-\_\-s\-::f, Agcbdisc\-\_\-s\-::graph, Agcbdisc\-\_\-s\-::ins, N\-I\-L, Agcbdisc\-\_\-s\-::node, Agcbstack\-\_\-s\-::prev, and Agcbstack\-\_\-s\-::state.



Referenced by aginitcb(), and agmethod\-\_\-init().

\index{obj.\-c@{obj.\-c}!agmethod\-\_\-delete@{agmethod\-\_\-delete}}
\index{agmethod\-\_\-delete@{agmethod\-\_\-delete}!obj.c@{obj.\-c}}
\subsubsection[{agmethod\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void agmethod\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_abfd01d47ddf3bf0017f2fac2072f670e}


Definition at line 138 of file obj.\-c.



References agdelcb(), agrecord\-\_\-callback(), Agclos\-\_\-s\-::callbacks\-\_\-enabled, Agclos\-\_\-s\-::cb, C\-B\-\_\-\-D\-E\-L\-E\-T\-I\-O\-N, Agraph\-\_\-s\-::clos, and N\-I\-Lsym.



Referenced by agclose(), agdeledge(), and agdelnode().

\index{obj.\-c@{obj.\-c}!agmethod\-\_\-init@{agmethod\-\_\-init}}
\index{agmethod\-\_\-init@{agmethod\-\_\-init}!obj.c@{obj.\-c}}
\subsubsection[{agmethod\-\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void agmethod\-\_\-init (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_ae5f5e0957c8f78086a02f695d1ee8a70}


Definition at line 76 of file obj.\-c.



References aginitcb(), agrecord\-\_\-callback(), Agclos\-\_\-s\-::callbacks\-\_\-enabled, Agclos\-\_\-s\-::cb, C\-B\-\_\-\-I\-N\-I\-T\-I\-A\-L\-I\-Z\-E, Agraph\-\_\-s\-::clos, and N\-I\-Lsym.



Referenced by agopen1().

\index{obj.\-c@{obj.\-c}!agmethod\-\_\-upd@{agmethod\-\_\-upd}}
\index{agmethod\-\_\-upd@{agmethod\-\_\-upd}!obj.c@{obj.\-c}}
\subsubsection[{agmethod\-\_\-upd}]{\setlength{\rightskip}{0pt plus 5cm}void agmethod\-\_\-upd (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj, }
\item[{{\bf Agsym\-\_\-t} $\ast$}]{sym}
\end{DoxyParamCaption}
)}\label{obj_8c_ae9c908417111b522e2804e037e6ea194}


Definition at line 107 of file obj.\-c.



References agrecord\-\_\-callback(), agupdcb(), Agclos\-\_\-s\-::callbacks\-\_\-enabled, Agclos\-\_\-s\-::cb, C\-B\-\_\-\-U\-P\-D\-A\-T\-E, and Agraph\-\_\-s\-::clos.



Referenced by agxset().

\index{obj.\-c@{obj.\-c}!agobjkind@{agobjkind}}
\index{agobjkind@{agobjkind}!obj.c@{obj.\-c}}
\subsubsection[{agobjkind}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agobjkind (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{arg}
\end{DoxyParamCaption}
)}\label{obj_8c_a7385ea97e06ab26c0c8cf22287b91dd6}


Definition at line 264 of file obj.\-c.



References A\-G\-T\-Y\-P\-E.



Referenced by get\-Obj\-Id(), make\-\_\-html\-\_\-label(), make\-\_\-label(), and set\-Attr().

\index{obj.\-c@{obj.\-c}!agpopdisc@{agpopdisc}}
\index{agpopdisc@{agpopdisc}!obj.c@{obj.\-c}}
\subsubsection[{agpopdisc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agpopdisc (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Agcbdisc\-\_\-t} $\ast$}]{cbd}
\end{DoxyParamCaption}
)}\label{obj_8c_ab4abb9e72c6500d6bdca0e59cba63574}


Definition at line 213 of file obj.\-c.



References agfree(), Agclos\-\_\-s\-::cb, Agraph\-\_\-s\-::clos, Agcbstack\-\_\-s\-::f, F\-A\-I\-L\-U\-R\-E, Agcbstack\-\_\-s\-::prev, and S\-U\-C\-C\-E\-S\-S.



Referenced by agclose().

\index{obj.\-c@{obj.\-c}!agpushdisc@{agpushdisc}}
\index{agpushdisc@{agpushdisc}!obj.c@{obj.\-c}}
\subsubsection[{agpushdisc}]{\setlength{\rightskip}{0pt plus 5cm}void agpushdisc (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf Agcbdisc\-\_\-t} $\ast$}]{cbd, }
\item[{void $\ast$}]{state}
\end{DoxyParamCaption}
)}\label{obj_8c_acefe1f8a8a81ce5a417dddfcae083234}


Definition at line 202 of file obj.\-c.



References A\-G\-N\-E\-W, Agclos\-\_\-s\-::cb, Agraph\-\_\-s\-::clos, Agcbstack\-\_\-s\-::f, Agcbstack\-\_\-s\-::prev, and Agcbstack\-\_\-s\-::state.



Referenced by main().

\index{obj.\-c@{obj.\-c}!agraphof@{agraphof}}
\index{agraphof@{agraphof}!obj.c@{obj.\-c}}
\subsubsection[{agraphof}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ agraphof (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_a145e0fa9df4f1afb8b5c8a1cd65601da}


Definition at line 185 of file obj.\-c.



References agerr(), A\-G\-E\-R\-R, A\-G\-I\-N\-E\-D\-G\-E, A\-G\-N\-O\-D\-E, A\-G\-O\-U\-T\-E\-D\-G\-E, A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, and N\-I\-Lgraph.



Referenced by add\-Edge\-Labels(), agbindrec(), agcopyattr(), agdelrec(), agexpose(), aghide(), agnameof(), agrecclose(), agrelabel\-\_\-node(), agrename(), agsafeset(), agsplice(), agxset(), arrow\-\_\-flags(), beginpath(), clip\-\_\-and\-\_\-install(), common\-\_\-init\-\_\-edge(), common\-\_\-init\-\_\-node(), edge(), edgecmd(), endpath(), findedge(), firstattr(), firstedge(), firsthead(), firstin(), firstout(), firsttail(), getv(), graphcmd(), graphof(), make\-\_\-html\-\_\-label(), make\-\_\-label(), make\-Port\-Labels(), make\-Self\-Arcs(), neato\-\_\-init\-\_\-node(), nextattr(), nextedge(), nexthead(), nextin(), nextout(), nexttail(), nodecmd(), rm(), self\-Right\-Space(), setv(), and write\-\_\-plain().

\index{obj.\-c@{obj.\-c}!agrename@{agrename}}
\index{agrename@{agrename}!obj.c@{obj.\-c}}
\subsubsection[{agrename}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agrename (
\begin{DoxyParamCaption}
\item[{{\bf Agobj\-\_\-t} $\ast$}]{obj, }
\item[{char $\ast$}]{newname}
\end{DoxyParamCaption}
)}\label{obj_8c_a9aa5f35c62363b35a583ba2f60c3c5a1}


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



References agfreeid(), A\-G\-I\-D, agidsubg(), A\-G\-I\-N\-E\-D\-G\-E, agmapnametoid(), A\-G\-N\-O\-D\-E, A\-G\-O\-U\-T\-E\-D\-G\-E, agparent(), A\-G\-R\-A\-P\-H, agraphof(), agrelabel\-\_\-node(), agrename(), agroot(), A\-G\-T\-Y\-P\-E, F\-A\-I\-L\-U\-R\-E, F\-A\-L\-S\-E, S\-U\-C\-C\-E\-S\-S, and T\-R\-U\-E.



Referenced by agrename().

\index{obj.\-c@{obj.\-c}!agroot@{agroot}}
\index{agroot@{agroot}!obj.c@{obj.\-c}}
\subsubsection[{agroot}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ agroot (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{obj_8c_a0ccce39fc8e4577239193ff6cb6d1c0f}


Definition at line 169 of file obj.\-c.



References agerr(), A\-G\-E\-R\-R, A\-G\-I\-N\-E\-D\-G\-E, A\-G\-N\-O\-D\-E, A\-G\-O\-U\-T\-E\-D\-G\-E, A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, and N\-I\-Lgraph.



Referenced by agcontains(), agdeledge(), agdelnode(), agdelrec(), agedge(), agexpose(), aghide(), agidedge(), agidnode(), agnode(), agnodebefore(), agopen1(), agrelabel\-\_\-node(), agrename(), agsplice(), agsubnode(), circo\-\_\-cleanup(), delete\-Graph(), do\-\_\-graph\-\_\-label(), dot\-\_\-root(), edgecmd(), firstattr(), getv(), graphcmd(), graphof(), gv\-Layout\-Jobs(), make\-\_\-label(), nextattr(), nodecmd(), place\-\_\-graph\-\_\-label(), rm(), rootof(), setedgeattributes(), setgraphattributes(), setnodeattributes(), setv(), and virtual\-\_\-node().

\index{obj.\-c@{obj.\-c}!agupdcb@{agupdcb}}
\index{agupdcb@{agupdcb}!obj.c@{obj.\-c}}
\subsubsection[{agupdcb}]{\setlength{\rightskip}{0pt plus 5cm}void agupdcb (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{void $\ast$}]{obj, }
\item[{{\bf Agsym\-\_\-t} $\ast$}]{sym, }
\item[{{\bf Agcbstack\-\_\-t} $\ast$}]{cbstack}
\end{DoxyParamCaption}
)}\label{obj_8c_a02796c666a1d9abfdbd8a062d530902d}


Definition at line 115 of file obj.\-c.



References A\-G\-E\-D\-G\-E, A\-G\-N\-O\-D\-E, A\-G\-R\-A\-P\-H, A\-G\-T\-Y\-P\-E, agupdcb(), Agcbdisc\-\_\-s\-::edge, Agcbstack\-\_\-s\-::f, Agcbdisc\-\_\-s\-::graph, Agcbdisc\-\_\-s\-::mod, N\-I\-L, Agcbdisc\-\_\-s\-::node, Agcbstack\-\_\-s\-::prev, and Agcbstack\-\_\-s\-::state.



Referenced by agmethod\-\_\-upd(), and agupdcb().

