\section{lib/cgraph/attr.c File Reference}
\label{attr_8c}\index{lib/cgraph/attr.\-c@{lib/cgraph/attr.\-c}}
{\ttfamily \#include $<$cghdr.\-h$>$}\\*
Include dependency graph for attr.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{attr_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf M\-I\-N\-A\-T\-T\-R}~4		/$\ast$ minimum allocation $\ast$/
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Agdatadict\-\_\-t} $\ast$ {\bf agdatadict} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} cflag)
\item 
{\bf Dict\-\_\-t} $\ast$ {\bf agdictof} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} kind)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf agnewsym} ({\bf Agraph\-\_\-t} $\ast$g, char $\ast$name, char $\ast$value, {\bf int} id, {\bf int} kind)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf agdictsym} ({\bf Dict\-\_\-t} $\ast$dict, char $\ast$name)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf aglocaldictsym} ({\bf Dict\-\_\-t} $\ast$dict, char $\ast$name)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf agattrsym} (void $\ast$obj, char $\ast$name)
\item 
{\bf Agattr\-\_\-t} $\ast$ {\bf agattrrec} (void $\ast$obj)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf agattr} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} kind, char $\ast$name, char $\ast$value)
\item 
{\bf Agsym\-\_\-t} $\ast$ {\bf agnxtattr} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} kind, {\bf Agsym\-\_\-t} $\ast$attr)
\item 
void {\bf agraphattr\-\_\-init} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
{\bf int} {\bf agraphattr\-\_\-delete} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf agnodeattr\-\_\-init} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Agnode\-\_\-t} $\ast$n)
\item 
void {\bf agnodeattr\-\_\-delete} ({\bf Agnode\-\_\-t} $\ast$n)
\item 
void {\bf agedgeattr\-\_\-init} ({\bf Agraph\-\_\-t} $\ast$g, {\bf Agedge\-\_\-t} $\ast$e)
\item 
void {\bf agedgeattr\-\_\-delete} ({\bf Agedge\-\_\-t} $\ast$e)
\item 
char $\ast$ {\bf agget} (void $\ast$obj, char $\ast$name)
\item 
char $\ast$ {\bf agxget} (void $\ast$obj, {\bf Agsym\-\_\-t} $\ast$sym)
\item 
{\bf int} {\bf agset} (void $\ast$obj, char $\ast$name, char $\ast$value)
\item 
{\bf int} {\bf agxset} (void $\ast$obj, {\bf Agsym\-\_\-t} $\ast$sym, char $\ast$value)
\item 
{\bf int} {\bf agsafeset} (void $\ast$obj, char $\ast$name, char $\ast$value, char $\ast$def)
\item 
{\bf int} {\bf agcopyattr} (void $\ast$oldobj, void $\ast$newobj)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
{\bf Dtdisc\-\_\-t} {\bf Ag\-Data\-Dict\-Disc}
\item 
char $\ast$ {\bf Ag\-Data\-Rec\-Name} = \char`\"{}\-\_\-\-A\-G\-\_\-strdata\char`\"{}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{attr.\-c@{attr.\-c}!M\-I\-N\-A\-T\-T\-R@{M\-I\-N\-A\-T\-T\-R}}
\index{M\-I\-N\-A\-T\-T\-R@{M\-I\-N\-A\-T\-T\-R}!attr.c@{attr.\-c}}
\subsubsection[{M\-I\-N\-A\-T\-T\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-I\-N\-A\-T\-T\-R~4		/$\ast$ minimum allocation $\ast$/}\label{attr_8c_a20d71720df19567f08760d84eec3cac5}


Definition at line 22 of file attr.\-c.



\subsection{Function Documentation}
\index{attr.\-c@{attr.\-c}!agattr@{agattr}}
\index{agattr@{agattr}!attr.c@{attr.\-c}}
\subsubsection[{agattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ agattr (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{kind, }
\item[{char $\ast$}]{name, }
\item[{char $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{attr_8c_a9700434fd3f0d71503d65f0073e70a3f}


Definition at line 324 of file attr.\-c.



References agopen().



Referenced by agsafeset(), assign\-\_\-random\-\_\-edge\-\_\-color(), attach\-\_\-edge\-\_\-colors(), attached\-\_\-clustering(), convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes(), dot\-\_\-sameports(), Dot\-\_\-\-Set\-Cluster\-Color(), dotneato\-\_\-args\-\_\-initialize(), emit\-\_\-graph(), fdp\-\_\-init\-\_\-node\-\_\-edge(), fdp\-\_\-init\-Params(), getv(), graph\-\_\-init(), gv\-Context(), gv\-Context\-Plugins(), gvplugin\-\_\-graph(), Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot(), Import\-\_\-dot\-\_\-splines(), init\-\_\-nop(), main(), make\-Dot\-Graph(), safe\-\_\-dcl(), scan\-\_\-graph\-\_\-mode(), set\-Attr(), setedgeattributes(), setgraphattributes(), setnodeattributes(), setv(), Sparse\-Matrix\-\_\-import\-\_\-dot(), tcldot\-\_\-layout(), and twopi\-\_\-layout().

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


Definition at line 231 of file attr.\-c.



References aggetrec(), and F\-A\-L\-S\-E.



Referenced by agattrsym(), agedgeattr\-\_\-delete(), agedgeattr\-\_\-init(), agget(), agnodeattr\-\_\-delete(), agnodeattr\-\_\-init(), agraphattr\-\_\-delete(), agxget(), and agxset().

\index{attr.\-c@{attr.\-c}!agattrsym@{agattrsym}}
\index{agattrsym@{agattrsym}!attr.c@{attr.\-c}}
\subsubsection[{agattrsym}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ agattrsym (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{attr_8c_a435ef6c1b5cab92914137ef07a622802}


Definition at line 153 of file attr.\-c.



References agattrrec(), agdictsym(), Agattr\-\_\-s\-::dict, and N\-I\-Lsym.



Referenced by agcopyattr(), agget(), and agset().

\index{attr.\-c@{attr.\-c}!agcopyattr@{agcopyattr}}
\index{agcopyattr@{agcopyattr}!attr.c@{attr.\-c}}
\subsubsection[{agcopyattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agcopyattr (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{oldobj, }
\item[{void $\ast$}]{newobj}
\end{DoxyParamCaption}
)}\label{attr_8c_a776d42b39bf10a51db742c1a0d3ca1ee}


Definition at line 535 of file attr.\-c.



References agattrsym(), aghtmlstr(), agmarkhtmlstr(), agnxtattr(), agraphof(), A\-G\-T\-Y\-P\-E, agxget(), agxset(), and Agsym\-\_\-s\-::name.

\index{attr.\-c@{attr.\-c}!agdatadict@{agdatadict}}
\index{agdatadict@{agdatadict}!attr.c@{attr.\-c}}
\subsubsection[{agdatadict}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agdatadict\-\_\-t}$\ast$ agdatadict (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{cflag}
\end{DoxyParamCaption}
)}\label{attr_8c_a19eef259ab5d58627291460804a4ce0b}


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



References aggetrec(), and F\-A\-L\-S\-E.



Referenced by agdictof(), agraphattr\-\_\-delete(), and agxset().

\index{attr.\-c@{attr.\-c}!agdictof@{agdictof}}
\index{agdictof@{agdictof}!attr.c@{attr.\-c}}
\subsubsection[{agdictof}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Dict\-\_\-t}$\ast$ agdictof (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{kind}
\end{DoxyParamCaption}
)}\label{attr_8c_a60af9a644df10f8d44d9a058d1a6ec0b}


Definition at line 52 of file attr.\-c.



References agdatadict(), 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, Agdatadict\-\_\-s\-::dict, Agdatadict\-\_\-s\-::e, F\-A\-L\-S\-E, Agdatadict\-\_\-s\-::g, Agdatadict\-\_\-s\-::n, and N\-I\-L.



Referenced by agnxtattr().

\index{attr.\-c@{attr.\-c}!agdictsym@{agdictsym}}
\index{agdictsym@{agdictsym}!attr.c@{attr.\-c}}
\subsubsection[{agdictsym}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ agdictsym (
\begin{DoxyParamCaption}
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{attr_8c_a352e6d3c18275b33804390f69b1267d4}


Definition at line 134 of file attr.\-c.



References dtsearch, and Agsym\-\_\-s\-::name.



Referenced by agattrsym(), and aglocaldictsym().

\index{attr.\-c@{attr.\-c}!agedgeattr\-\_\-delete@{agedgeattr\-\_\-delete}}
\index{agedgeattr\-\_\-delete@{agedgeattr\-\_\-delete}!attr.c@{attr.\-c}}
\subsubsection[{agedgeattr\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void agedgeattr\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Agedge\-\_\-t} $\ast$}]{e}
\end{DoxyParamCaption}
)}\label{attr_8c_a6fcb71761b4b54c3353fa5fca05ca68d}


Definition at line 418 of file attr.\-c.



References agattrrec(), and agdelrec().



Referenced by agdeledge().

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


Definition at line 409 of file attr.\-c.



References agattrrec(), and Agattr\-\_\-s\-::dict.

\index{attr.\-c@{attr.\-c}!agget@{agget}}
\index{agget@{agget}!attr.c@{attr.\-c}}
\subsubsection[{agget}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ agget (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{attr_8c_aced47b1daa963ec7f6f35079ab11d8ca}


Definition at line 428 of file attr.\-c.



References agattrrec(), agattrsym(), Agsym\-\_\-s\-::id, N\-I\-Lsym, and Agattr\-\_\-s\-::str.



Referenced by adjust\-Nodes(), agwrite(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), bind\-\_\-shape(), circular\-Layout(), common\-\_\-init\-\_\-edge(), do\-\_\-graph\-\_\-label(), dot\-\_\-mincross(), dot\-\_\-rank(), emit\-\_\-clusters(), emit\-\_\-html\-\_\-label(), epsf\-\_\-init(), esep\-Factor(), fdp\-\_\-x\-Layout(), getdouble(), get\-Obj\-Id(), get\-Pack(), get\-Pack\-Mode\-Info(), graph\-\_\-init(), graph\-Adjust\-Mode(), gv\-Layout\-Jobs(), gvrender\-\_\-begin\-\_\-graph(), Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot(), init\-\_\-nop(), init\-\_\-xdot(), neato\-\_\-layout(), put\-Graphs(), rank(), rank1(), scan\-\_\-graph\-\_\-mode(), sep\-Factor(), set\-Aspect(), set\-Edge\-Type(), set\-Seed(), Sparse\-Matrix\-\_\-import\-\_\-dot(), twopi\-\_\-layout(), and write\-\_\-plain().

\index{attr.\-c@{attr.\-c}!aglocaldictsym@{aglocaldictsym}}
\index{aglocaldictsym@{aglocaldictsym}!attr.c@{attr.\-c}}
\subsubsection[{aglocaldictsym}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ aglocaldictsym (
\begin{DoxyParamCaption}
\item[{{\bf Dict\-\_\-t} $\ast$}]{dict, }
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{attr_8c_a7a652991f63b1dbeb72fe50c7507bb0c}


Definition at line 142 of file attr.\-c.



References agdictsym(), dtview(), and N\-I\-L.



Referenced by agxset().

\index{attr.\-c@{attr.\-c}!agnewsym@{agnewsym}}
\index{agnewsym@{agnewsym}!attr.c@{attr.\-c}}
\subsubsection[{agnewsym}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ agnewsym (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{char $\ast$}]{name, }
\item[{char $\ast$}]{value, }
\item[{{\bf int}}]{id, }
\item[{{\bf int}}]{kind}
\end{DoxyParamCaption}
)}\label{attr_8c_ad3b0a8da5f65bb4e226ba5a0f947d755}


Definition at line 79 of file attr.\-c.



References agalloc(), agstrdup(), Agsym\-\_\-s\-::defval, Agsym\-\_\-s\-::id, Agsym\-\_\-s\-::kind, and Agsym\-\_\-s\-::name.



Referenced by agxset().

\index{attr.\-c@{attr.\-c}!agnodeattr\-\_\-delete@{agnodeattr\-\_\-delete}}
\index{agnodeattr\-\_\-delete@{agnodeattr\-\_\-delete}!attr.c@{attr.\-c}}
\subsubsection[{agnodeattr\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void agnodeattr\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{attr_8c_a14afd9ce027595c088fc3fb6ab766795}


Definition at line 399 of file attr.\-c.



References agattrrec(), and agdelrec().



Referenced by agdelnode().

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


Definition at line 390 of file attr.\-c.



References agattrrec(), and Agattr\-\_\-s\-::dict.

\index{attr.\-c@{attr.\-c}!agnxtattr@{agnxtattr}}
\index{agnxtattr@{agnxtattr}!attr.c@{attr.\-c}}
\subsubsection[{agnxtattr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agsym\-\_\-t}$\ast$ agnxtattr (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{kind, }
\item[{{\bf Agsym\-\_\-t} $\ast$}]{attr}
\end{DoxyParamCaption}
)}\label{attr_8c_a6cee3fc5261fd08649506c7cea2fad59}


Definition at line 340 of file attr.\-c.



References agdictof(), dtfirst, and dtnext.



Referenced by agcopyattr(), firstattr(), list\-Edge\-Attrs(), list\-Graph\-Attrs(), list\-Node\-Attrs(), main(), and nextattr().

\index{attr.\-c@{attr.\-c}!agraphattr\-\_\-delete@{agraphattr\-\_\-delete}}
\index{agraphattr\-\_\-delete@{agraphattr\-\_\-delete}!attr.c@{attr.\-c}}
\subsubsection[{agraphattr\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agraphattr\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{attr_8c_ad3bb3e2b4f9af7ad2a8dfec6be0728cd}


Definition at line 370 of file attr.\-c.



References Ag\-\_\-\-G\-\_\-global, agattrrec(), agdatadict(), agdelrec(), agdtclose(), Agdatadict\-\_\-s\-::dict, Agdatadict\-\_\-s\-::e, F\-A\-L\-S\-E, Agdatadict\-\_\-s\-::g, Agattr\-\_\-s\-::h, Agdatadict\-\_\-s\-::h, Agdatadict\-\_\-s\-::n, and Agrec\-\_\-s\-::name.



Referenced by agclose().

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


Definition at line 357 of file attr.\-c.



References agparent(), Agraph\-\_\-s\-::desc, and Agdesc\-\_\-s\-::has\-\_\-attrs.



Referenced by agopen1().

\index{attr.\-c@{attr.\-c}!agsafeset@{agsafeset}}
\index{agsafeset@{agsafeset}!attr.c@{attr.\-c}}
\subsubsection[{agsafeset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agsafeset (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{char $\ast$}]{name, }
\item[{char $\ast$}]{value, }
\item[{char $\ast$}]{def}
\end{DoxyParamCaption}
)}\label{attr_8c_acc1333bd692dea2cf05882f9f610c3c3}


Definition at line 497 of file attr.\-c.



References agattr(), agraphof(), A\-G\-T\-Y\-P\-E, and agxset().



Referenced by gv\-Layout().

\index{attr.\-c@{attr.\-c}!agset@{agset}}
\index{agset@{agset}!attr.c@{attr.\-c}}
\subsubsection[{agset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agset (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{char $\ast$}]{name, }
\item[{char $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{attr_8c_afb5524616b4f48b48a7d0fb7066320cf}


Definition at line 455 of file attr.\-c.



References agattrsym(), agxset(), F\-A\-I\-L\-U\-R\-E, and N\-I\-Lsym.



Referenced by attach\-\_\-attrs\-\_\-and\-\_\-arrows(), convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes(), set\-Seed(), and twopi\-\_\-layout().

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


Definition at line 444 of file attr.\-c.



References agattrrec(), assert, Agsym\-\_\-s\-::id, and Agattr\-\_\-s\-::str.



Referenced by agcopyattr(), arrow\-\_\-flags(), attached\-\_\-clustering(), common\-\_\-init\-\_\-edge(), common\-\_\-init\-\_\-node(), convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes(), dot\-\_\-sameports(), edgecmd(), graphcmd(), Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot(), Import\-\_\-dot\-\_\-splines(), late\-\_\-bool(), late\-\_\-string(), main(), make\-Matrix(), nodecmd(), nonconstraint\-\_\-edge(), Sparse\-Matrix\-\_\-import\-\_\-dot(), user\-\_\-pos(), and write\-\_\-plain().

\index{attr.\-c@{attr.\-c}!agxset@{agxset}}
\index{agxset@{agxset}!attr.c@{attr.\-c}}
\subsubsection[{agxset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} agxset (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{obj, }
\item[{{\bf Agsym\-\_\-t} $\ast$}]{sym, }
\item[{char $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{attr_8c_a75284bfc3093c06c4a39f938c767412b}


Definition at line 468 of file attr.\-c.



References agattrrec(), agdatadict(), aglocaldictsym(), agmethod\-\_\-upd(), agnewsym(), A\-G\-R\-A\-P\-H, agraphof(), agstrdup(), agstrfree(), A\-G\-T\-Y\-P\-E, assert, Agsym\-\_\-s\-::defval, Agdatadict\-\_\-s\-::dict, dtinsert, F\-A\-L\-S\-E, Agdatadict\-\_\-s\-::g, Agsym\-\_\-s\-::id, Agsym\-\_\-s\-::name, Agtag\-\_\-s\-::objtype, Agattr\-\_\-s\-::str, S\-U\-C\-C\-E\-S\-S, and Agobj\-\_\-s\-::tag.



Referenced by agcopyattr(), agsafeset(), agset(), assign\-\_\-random\-\_\-edge\-\_\-color(), attach\-\_\-attrs\-\_\-and\-\_\-arrows(), attach\-\_\-edge\-\_\-colors(), attached\-\_\-clustering(), Dot\-\_\-\-Set\-Cluster\-Color(), gvplugin\-\_\-graph(), Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot(), make\-Dot\-Graph(), set\-Attr(), tcldot\-\_\-layout(), and twopi\-\_\-layout().



\subsection{Variable Documentation}
\index{attr.\-c@{attr.\-c}!Ag\-Data\-Dict\-Disc@{Ag\-Data\-Dict\-Disc}}
\index{Ag\-Data\-Dict\-Disc@{Ag\-Data\-Dict\-Disc}!attr.c@{attr.\-c}}
\subsubsection[{Ag\-Data\-Dict\-Disc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Dtdisc\-\_\-t} Ag\-Data\-Dict\-Disc}\label{attr_8c_a7a9d9fe29a5524b2f399defeeb2e226d}
{\bfseries Initial value\-:}
\begin{DoxyCode}
= \{
    (int) offsetof(Agsym_t, name),      
    -1,
    (int) offsetof(Agsym_t, link),
    NIL(Dtmake_f),
    freesym,
    NIL(Dtcompar_f),

\}
\end{DoxyCode}


Definition at line 26 of file attr.\-c.

\index{attr.\-c@{attr.\-c}!Ag\-Data\-Rec\-Name@{Ag\-Data\-Rec\-Name}}
\index{Ag\-Data\-Rec\-Name@{Ag\-Data\-Rec\-Name}!attr.c@{attr.\-c}}
\subsubsection[{Ag\-Data\-Rec\-Name}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ Ag\-Data\-Rec\-Name = \char`\"{}\-\_\-\-A\-G\-\_\-strdata\char`\"{}}\label{attr_8c_a2adbc0c973f96c6a7b5ba96e9ada70b7}


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

