\section{lib/gvc/gvlayout.c File Reference}
\label{gvlayout_8c}\index{lib/gvc/gvlayout.\-c@{lib/gvc/gvlayout.\-c}}
{\ttfamily \#include \char`\"{}config.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}const.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvplugin\-\_\-layout.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvcint.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}cgraph.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvcproc.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}gvc.\-h\char`\"{}}\\*
Include dependency graph for gvlayout.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gvlayout_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf graph\-\_\-init} ({\bf Agraph\-\_\-t} $\ast$g, {\bf boolean} use\-\_\-rankdir)
\item 
void {\bf graph\-\_\-cleanup} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf gv\-\_\-fix\-Locale} ({\bf int} set)
\item 
void {\bf gv\-\_\-init\-Shapes} (void)
\item 
{\bf int} {\bf gvlayout\-\_\-select} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc}, const char $\ast${\bf layout})
\item 
{\bf int} {\bf gv\-Layout\-Jobs} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc}, {\bf Agraph\-\_\-t} $\ast$g)
\item 
{\bf int} {\bf gv\-Free\-Layout} ({\bf G\-V\-C\-\_\-t} $\ast${\bf gvc}, {\bf Agraph\-\_\-t} $\ast$g)
\end{DoxyCompactItemize}


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


Definition at line 847 of file input.\-c.



References agclean(), A\-G\-R\-A\-P\-H, free\-\_\-label(), free\-X\-Dot(), G\-D\-\_\-drawing, G\-D\-\_\-label, and N\-U\-L\-L.



Referenced by gv\-Free\-Layout().

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


Definition at line 654 of file input.\-c.



References agattr(), agfindedgeattr, agfindgraphattr, agfindnodeattr, agget(), A\-G\-N\-O\-D\-E, C\-L\-\_\-type, Concentrate, D\-E\-F\-A\-U\-L\-T\-\_\-\-N\-O\-D\-E\-S\-E\-P, D\-E\-F\-A\-U\-L\-T\-\_\-\-R\-A\-N\-K\-S\-E\-P, do\-\_\-graph\-\_\-label(), E\-\_\-arrowhead, E\-\_\-arrowsz, E\-\_\-arrowtail, E\-\_\-color, E\-\_\-comment, E\-\_\-constr, E\-\_\-decorate, E\-\_\-dir, E\-\_\-fillcolor, E\-\_\-fontcolor, E\-\_\-fontname, E\-\_\-fontsize, E\-\_\-headclip, E\-\_\-headlabel, E\-\_\-label, E\-\_\-label\-\_\-float, E\-\_\-labelangle, E\-\_\-labeldistance, E\-\_\-labelfontcolor, E\-\_\-labelfontname, E\-\_\-labelfontsize, E\-\_\-layer, E\-\_\-minlen, E\-\_\-penwidth, E\-\_\-showboxes, E\-\_\-style, E\-\_\-tailclip, E\-\_\-taillabel, E\-\_\-weight, E\-\_\-xlabel, Edge\-Labels\-Done, G\-\_\-gradientangle, G\-\_\-margin, G\-\_\-ordering, G\-D\-\_\-charset, G\-D\-\_\-drawing, G\-D\-\_\-exact\-\_\-ranksep, G\-D\-\_\-fontnames, G\-D\-\_\-nodesep, G\-D\-\_\-ranksep, G\-D\-\_\-showboxes, G\-L\-O\-B\-A\-L, grealloc(), G\-V\-B\-E\-G\-I\-N, Gvfilepath, Gvimagepath, H\-T\-T\-P\-Server\-En\-Var, init\-\_\-xdot(), Initial\-\_\-dist, late\-\_\-double(), late\-\_\-int(), late\-\_\-string(), L\-O\-C\-A\-L, mapbool(), maptoken(), M\-I\-N\-\_\-\-N\-O\-D\-E\-S\-E\-P, M\-I\-N\-\_\-\-R\-A\-N\-K\-S\-E\-P, M\-Y\-H\-U\-G\-E, N\-\_\-color, N\-\_\-comment, N\-\_\-distortion, N\-\_\-fillcolor, N\-\_\-fixed, N\-\_\-fontcolor, N\-\_\-fontname, N\-\_\-fontsize, N\-\_\-gradientangle, N\-\_\-group, N\-\_\-height, N\-\_\-imagepos, N\-\_\-imagescale, N\-\_\-label, N\-\_\-layer, N\-\_\-margin, N\-\_\-nojustify, N\-\_\-ordering, N\-\_\-orientation, N\-\_\-penwidth, N\-\_\-peripheries, N\-\_\-shape, N\-\_\-showboxes, N\-\_\-sides, N\-\_\-skew, N\-\_\-style, N\-\_\-vertices, N\-\_\-width, N\-\_\-xlabel, N\-\_\-z, N\-A\-T\-I\-V\-E\-F\-O\-N\-T\-S, N\-E\-W, N\-O\-C\-L\-U\-S\-T, N\-O\-D\-E\-N\-A\-M\-E\-\_\-\-E\-S\-C, N\-U\-L\-L, P\-O\-I\-N\-T\-S, P\-S\-F\-O\-N\-T\-S, R\-A\-N\-K\-D\-I\-R\-\_\-\-B\-T, R\-A\-N\-K\-D\-I\-R\-\_\-\-L\-R, R\-A\-N\-K\-D\-I\-R\-\_\-\-R\-L, R\-A\-N\-K\-D\-I\-R\-\_\-\-T\-B, S\-E\-T\-\_\-\-R\-A\-N\-K\-D\-I\-R, State, strdup\-\_\-and\-\_\-subst\-\_\-obj(), streq, S\-V\-G\-F\-O\-N\-T\-S, and T\-R\-U\-E.



Referenced by gv\-Layout\-Jobs(), and main().

\index{gvlayout.\-c@{gvlayout.\-c}!gv\-\_\-fix\-Locale@{gv\-\_\-fix\-Locale}}
\index{gv\-\_\-fix\-Locale@{gv\-\_\-fix\-Locale}!gvlayout.c@{gvlayout.\-c}}
\subsubsection[{gv\-\_\-fix\-Locale}]{\setlength{\rightskip}{0pt plus 5cm}void gv\-\_\-fix\-Locale (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{set}
\end{DoxyParamCaption}
)}\label{gvlayout_8c_a2b36accc2c011c87e1fc1c2873ecfe8a}


Definition at line 4070 of file emit.\-c.



References N\-U\-L\-L.



Referenced by attach\-\_\-attrs\-\_\-and\-\_\-arrows(), gv\-Layout\-Jobs(), and gv\-Render\-Jobs().

\index{gvlayout.\-c@{gvlayout.\-c}!gv\-\_\-init\-Shapes@{gv\-\_\-init\-Shapes}}
\index{gv\-\_\-init\-Shapes@{gv\-\_\-init\-Shapes}!gvlayout.c@{gvlayout.\-c}}
\subsubsection[{gv\-\_\-init\-Shapes}]{\setlength{\rightskip}{0pt plus 5cm}void gv\-\_\-init\-Shapes (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{gvlayout_8c_a0727b23e2befe9a6fe5bc981f22bd66b}


Definition at line 4218 of file shapes.\-c.



References N\-U\-L\-L.



Referenced by gv\-Layout\-Jobs().

\index{gvlayout.\-c@{gvlayout.\-c}!gv\-Free\-Layout@{gv\-Free\-Layout}}
\index{gv\-Free\-Layout@{gv\-Free\-Layout}!gvlayout.c@{gvlayout.\-c}}
\subsubsection[{gv\-Free\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} gv\-Free\-Layout (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{gvlayout_8c_a6a0a307a7a8fa69dc56a7bcfe96f18df}


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



References agbindrec(), G\-D\-\_\-cleanup, G\-D\-\_\-drawing, graph\-\_\-cleanup(), N\-U\-L\-L, and T\-R\-U\-E.



Referenced by layout(), main(), and tcldot\-\_\-layout().

\index{gvlayout.\-c@{gvlayout.\-c}!gvlayout\-\_\-select@{gvlayout\-\_\-select}}
\index{gvlayout\-\_\-select@{gvlayout\-\_\-select}!gvlayout.c@{gvlayout.\-c}}
\subsubsection[{gvlayout\-\_\-select}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} gvlayout\-\_\-select (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc, }
\item[{const char $\ast$}]{layout}
\end{DoxyParamCaption}
)}\label{gvlayout_8c_ab500f0dab7033a92d9c20237dc4be77e}


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



References gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::engine, gvplugin\-\_\-installed\-\_\-t\-::engine, gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::features, gvplugin\-\_\-installed\-\_\-t\-::features, gvplugin\-\_\-load(), G\-V\-R\-E\-N\-D\-E\-R\-\_\-\-P\-L\-U\-G\-I\-N, gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::id, gvplugin\-\_\-installed\-\_\-t\-::id, G\-V\-C\-\_\-s\-::layout, N\-O\-\_\-\-S\-U\-P\-P\-O\-R\-T, gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::type, gvplugin\-\_\-installed\-\_\-t\-::type, and gvplugin\-\_\-available\-\_\-s\-::typeptr.



Referenced by dotneato\-\_\-args\-\_\-initialize(), gv\-Layout(), gv\-Layout\-Jobs(), and tcldot\-\_\-layout().

\index{gvlayout.\-c@{gvlayout.\-c}!gv\-Layout\-Jobs@{gv\-Layout\-Jobs}}
\index{gv\-Layout\-Jobs@{gv\-Layout\-Jobs}!gvlayout.c@{gvlayout.\-c}}
\subsubsection[{gv\-Layout\-Jobs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} gv\-Layout\-Jobs (
\begin{DoxyParamCaption}
\item[{{\bf G\-V\-C\-\_\-t} $\ast$}]{gvc, }
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{gvlayout_8c_ad6f2663d9c206c6ae3d48e92d9d3416d}


Definition at line 55 of file gvlayout.\-c.



References agbindrec(), agerr(), A\-G\-E\-R\-R, agget(), agroot(), gvlayout\-\_\-engine\-\_\-s\-::cleanup, gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::engine, gvplugin\-\_\-active\-\_\-layout\-\_\-s\-::features, gvlayout\-\_\-features\-\_\-t\-::flags, G\-D\-\_\-cleanup, G\-D\-\_\-drawing, G\-D\-\_\-gvc, graph\-\_\-init(), gv\-\_\-fix\-Locale(), gv\-\_\-init\-Shapes(), gvc, gvlayout\-\_\-select(), gvplugin\-\_\-list(), gvlayout\-\_\-engine\-\_\-s\-::layout, G\-V\-C\-\_\-s\-::layout, L\-A\-Y\-O\-U\-T\-\_\-\-U\-S\-E\-S\-\_\-\-R\-A\-N\-K\-D\-I\-R, N\-O\-\_\-\-S\-U\-P\-P\-O\-R\-T, N\-U\-L\-L, and T\-R\-U\-E.



Referenced by gv\-Layout(), main(), and tcldot\-\_\-layout().

