\section{lib/sparse/\-Dot\-I\-O.c File Reference}
\label{DotIO_8c}\index{lib/sparse/\-Dot\-I\-O.\-c@{lib/sparse/\-Dot\-I\-O.\-c}}
{\ttfamily \#include \char`\"{}general.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Dot\-I\-O.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}clustering.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}mq.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}color\-\_\-palette.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}colorutil.\-h\char`\"{}}\\*
Include dependency graph for Dot\-I\-O.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{DotIO_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf Agnodeinfo\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf S\-T\-A\-N\-D\-A\-L\-O\-N\-E}
\item 
\#define {\bf N\-D\-\_\-id}(n)~((({\bf Agnodeinfo\-\_\-t}$\ast$)((n)-\/$>$base.\-data))-\/$>$id)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf attach\-\_\-edge\-\_\-colors} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} dim, {\bf real} $\ast$colors)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf Sparse\-Matrix\-\_\-read\-\_\-dot} (F\-I\-L\-E $\ast$f)
\item 
{\bf Sparse\-Matrix} {\bf Sparse\-Matrix\-\_\-import\-\_\-dot} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} dim, {\bf real} $\ast$$\ast$label\-\_\-sizes, {\bf real} $\ast$$\ast$x, {\bf int} $\ast$n\-\_\-edge\-\_\-label\-\_\-nodes, {\bf int} $\ast$$\ast$edge\-\_\-label\-\_\-nodes, {\bf int} format, {\bf Sparse\-Matrix} $\ast$D)
\item 
{\bf int} {\bf Import\-\_\-dot\-\_\-splines} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} $\ast$ne, char $\ast$$\ast$$\ast$xsplines)
\item 
void {\bf edgelist\-\_\-export} (F\-I\-L\-E $\ast$f, {\bf Sparse\-Matrix} A, {\bf int} dim, {\bf real} $\ast$x)
\item 
void {\bf dump\-\_\-coordinates} (char $\ast$name, {\bf int} n, {\bf int} dim, {\bf real} $\ast$x)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf make\-Dot\-Graph} ({\bf Sparse\-Matrix} A, char $\ast$name, {\bf int} dim, {\bf real} $\ast$x, {\bf int} with\-\_\-color, {\bf int} with\-\_\-label, {\bf int} use\-\_\-matrix\-\_\-value)
\item 
char $\ast$ {\bf cat\-\_\-string} (char $\ast${\bf s1}, char $\ast$s2)
\item 
char $\ast$ {\bf cat\-\_\-string3} (char $\ast${\bf s1}, char $\ast$s2, char $\ast$s3, {\bf int} id)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
{\bf Agraph\-\_\-t} $\ast$ {\bf assign\-\_\-random\-\_\-edge\-\_\-color} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf Dot\-\_\-\-Set\-Cluster\-Color} ({\bf Agraph\-\_\-t} $\ast$g, float $\ast$rgb\-\_\-r, float $\ast$rgb\-\_\-g, float $\ast$rgb\-\_\-b, {\bf int} $\ast$clusters)
\item 
{\bf Sparse\-Matrix} {\bf Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} maxcluster, {\bf int} dim, {\bf int} $\ast$nn, {\bf real} $\ast$$\ast$label\-\_\-sizes, {\bf real} $\ast$$\ast$x, {\bf int} $\ast$$\ast$clusters, float $\ast$$\ast$rgb\-\_\-r, float $\ast$$\ast$rgb\-\_\-g, float $\ast$$\ast$rgb\-\_\-b, float $\ast$$\ast$fsz, char $\ast$$\ast$$\ast$labels, {\bf int} default\-\_\-color\-\_\-scheme, {\bf int} clustering\-\_\-scheme, {\bf int} use\-Clusters)
\item 
void {\bf attached\-\_\-clustering} ({\bf Agraph\-\_\-t} $\ast$g, {\bf int} maxcluster, {\bf int} clustering\-\_\-scheme)
\item 
void {\bf init\-Dot\-I\-O} ({\bf Agraph\-\_\-t} $\ast$g)
\item 
void {\bf set\-Dot\-Node\-I\-D} ({\bf Agnode\-\_\-t} $\ast$n, {\bf int} v)
\item 
{\bf int} {\bf get\-Dot\-Node\-I\-D} ({\bf Agnode\-\_\-t} $\ast$n)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!N\-D\-\_\-id@{N\-D\-\_\-id}}
\index{N\-D\-\_\-id@{N\-D\-\_\-id}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{N\-D\-\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-D\-\_\-id(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~((({\bf Agnodeinfo\-\_\-t}$\ast$)((n)-\/$>$base.\-data))-\/$>$id)}\label{DotIO_8c_a0affbf5af96f331f4426bf5dd340c9ec}


Definition at line 28 of file Dot\-I\-O.\-c.



Referenced by attach\-\_\-edge\-\_\-colors(), attached\-\_\-clustering(), convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes(), Dot\-\_\-\-Set\-Cluster\-Color(), get\-Dot\-Node\-I\-D(), Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot(), Import\-\_\-dot\-\_\-splines(), make\-Dot\-Graph(), set\-Dot\-Node\-I\-D(), and Sparse\-Matrix\-\_\-import\-\_\-dot().

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!S\-T\-A\-N\-D\-A\-L\-O\-N\-E@{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}}
\index{S\-T\-A\-N\-D\-A\-L\-O\-N\-E@{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-T\-A\-N\-D\-A\-L\-O\-N\-E}\label{DotIO_8c_ab1c59581eafa11e55bf8f6ea8b877dd6}


Definition at line 14 of file Dot\-I\-O.\-c.



\subsection{Function Documentation}
\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!assign\-\_\-random\-\_\-edge\-\_\-color@{assign\-\_\-random\-\_\-edge\-\_\-color}}
\index{assign\-\_\-random\-\_\-edge\-\_\-color@{assign\-\_\-random\-\_\-edge\-\_\-color}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{assign\-\_\-random\-\_\-edge\-\_\-color}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ assign\-\_\-random\-\_\-edge\-\_\-color (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{DotIO_8c_ac335e7e83578347c4b1db83854635fea}


Definition at line 752 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agfstedge(), agfstnode(), agnxtedge(), agnxtnode(), agxset(), drand(), and hue2rgb().

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!attach\-\_\-edge\-\_\-colors@{attach\-\_\-edge\-\_\-colors}}
\index{attach\-\_\-edge\-\_\-colors@{attach\-\_\-edge\-\_\-colors}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{attach\-\_\-edge\-\_\-colors}]{\setlength{\rightskip}{0pt plus 5cm}void attach\-\_\-edge\-\_\-colors (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{colors}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a29fef902849c0244f24e1051e5aa886d}


Definition at line 91 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agfstnode(), agfstout(), aghead(), agnxtnode(), agnxtout(), agxset(), and N\-D\-\_\-id.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!attached\-\_\-clustering@{attached\-\_\-clustering}}
\index{attached\-\_\-clustering@{attached\-\_\-clustering}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{attached\-\_\-clustering}]{\setlength{\rightskip}{0pt plus 5cm}void attached\-\_\-clustering (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{maxcluster, }
\item[{{\bf int}}]{clustering\-\_\-scheme}
\end{DoxyParamCaption}
)}\label{DotIO_8c_adef39cf21fcb69f11d7360c60241d75c}


Definition at line 1088 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agfstnode(), agfstout(), aghead(), agnedges(), agnnodes(), A\-G\-N\-O\-D\-E, agnxtnode(), agnxtout(), agxget(), agxset(), assert, C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y, C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q, F\-A\-L\-S\-E, F\-R\-E\-E, M\-A\-L\-L\-O\-C, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, modularity\-\_\-clustering(), mq\-\_\-clustering(), N\-\_\-\-N\-E\-W, N\-D\-\_\-id, N\-U\-L\-L, real, Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-from\-\_\-coordinate\-\_\-arrays(), T\-R\-U\-E, and Verbose.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!cat\-\_\-string@{cat\-\_\-string}}
\index{cat\-\_\-string@{cat\-\_\-string}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{cat\-\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ cat\-\_\-string (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{s1, }
\item[{char $\ast$}]{s2}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a2f5311d188820eda6965c18043c8106a}


Definition at line 653 of file Dot\-I\-O.\-c.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!cat\-\_\-string3@{cat\-\_\-string3}}
\index{cat\-\_\-string3@{cat\-\_\-string3}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{cat\-\_\-string3}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ cat\-\_\-string3 (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{s1, }
\item[{char $\ast$}]{s2, }
\item[{char $\ast$}]{s3, }
\item[{{\bf int}}]{id}
\end{DoxyParamCaption}
)}\label{DotIO_8c_aac6b1d069450b0e1c45021a611d463b9}


Definition at line 662 of file Dot\-I\-O.\-c.



Referenced by convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes().

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes@{convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes}}
\index{convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes@{convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ convert\-\_\-edge\-\_\-labels\-\_\-to\-\_\-nodes (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{DotIO_8c_abaee496b998017ffa47b4f099b176cfc}


Definition at line 678 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agedge(), agfstedge(), agfstnode(), aghead(), agnameof(), agnedges(), agnnodes(), A\-G\-N\-O\-D\-E, agnxtedge(), agnxtnode(), agopen(), agset(), agtail(), agxget(), cat\-\_\-string3(), Agraph\-\_\-s\-::desc, N\-D\-\_\-id, and N\-U\-L\-L.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!Dot\-\_\-\-Set\-Cluster\-Color@{Dot\-\_\-\-Set\-Cluster\-Color}}
\index{Dot\-\_\-\-Set\-Cluster\-Color@{Dot\-\_\-\-Set\-Cluster\-Color}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{Dot\-\_\-\-Set\-Cluster\-Color}]{\setlength{\rightskip}{0pt plus 5cm}void Dot\-\_\-\-Set\-Cluster\-Color (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{float $\ast$}]{rgb\-\_\-r, }
\item[{float $\ast$}]{rgb\-\_\-g, }
\item[{float $\ast$}]{rgb\-\_\-b, }
\item[{{\bf int} $\ast$}]{clusters}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a15b1a025019b0eb1fb9c517b95df628a}


Definition at line 781 of file Dot\-I\-O.\-c.



References agattr(), agfstnode(), A\-G\-N\-O\-D\-E, agnxtnode(), agxset(), N\-D\-\_\-id, N\-U\-L\-L, and rgb2hex().

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!dump\-\_\-coordinates@{dump\-\_\-coordinates}}
\index{dump\-\_\-coordinates@{dump\-\_\-coordinates}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{dump\-\_\-coordinates}]{\setlength{\rightskip}{0pt plus 5cm}void dump\-\_\-coordinates (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name, }
\item[{{\bf int}}]{n, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{DotIO_8c_acdcbb567c79cc004ad96469559289281}


Definition at line 432 of file Dot\-I\-O.\-c.



References strip\-\_\-dir().

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!edgelist\-\_\-export@{edgelist\-\_\-export}}
\index{edgelist\-\_\-export@{edgelist\-\_\-export}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{edgelist\-\_\-export}]{\setlength{\rightskip}{0pt plus 5cm}void edgelist\-\_\-export (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f, }
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a870c5ec8eabc80eeda839d4ee5716e18}


Definition at line 387 of file Dot\-I\-O.\-c.



References dist(), Sparse\-Matrix\-\_\-struct\-::ia, Sparse\-Matrix\-\_\-struct\-::ja, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-X, M\-I\-N, Sparse\-Matrix\-\_\-struct\-::n, Sparse\-Matrix\-\_\-struct\-::nz, and real.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!get\-Dot\-Node\-I\-D@{get\-Dot\-Node\-I\-D}}
\index{get\-Dot\-Node\-I\-D@{get\-Dot\-Node\-I\-D}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{get\-Dot\-Node\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} get\-Dot\-Node\-I\-D (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a290d0b129e19e3d90a1b5ee7a60630ee}


Definition at line 1192 of file Dot\-I\-O.\-c.



References N\-D\-\_\-id.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot@{Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot}}
\index{Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot@{Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sparse\-Matrix} Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{maxcluster, }
\item[{{\bf int}}]{dim, }
\item[{{\bf int} $\ast$}]{nn, }
\item[{{\bf real} $\ast$$\ast$}]{label\-\_\-sizes, }
\item[{{\bf real} $\ast$$\ast$}]{x, }
\item[{{\bf int} $\ast$$\ast$}]{clusters, }
\item[{float $\ast$$\ast$}]{rgb\-\_\-r, }
\item[{float $\ast$$\ast$}]{rgb\-\_\-g, }
\item[{float $\ast$$\ast$}]{rgb\-\_\-b, }
\item[{float $\ast$$\ast$}]{fsz, }
\item[{char $\ast$$\ast$$\ast$}]{labels, }
\item[{{\bf int}}]{default\-\_\-color\-\_\-scheme, }
\item[{{\bf int}}]{clustering\-\_\-scheme, }
\item[{{\bf int}}]{use\-Clusters}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a749c6728d62d4d2220a5481dfea58f82}


Definition at line 799 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agfstnode(), agfstout(), agfstsubg(), agget(), aghead(), agnameof(), agnedges(), agnnodes(), A\-G\-N\-O\-D\-E, agnxtnode(), agnxtout(), agnxtsubg(), agxget(), agxset(), assert, C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y, C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q, C\-O\-L\-O\-R\-\_\-\-O\-K, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-A\-D\-A\-M, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-A\-D\-A\-M\-\_\-\-B\-L\-E\-N\-D, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-B\-L\-U\-E\-\_\-\-Y\-E\-L\-L\-O\-W, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-G\-R\-E\-Y, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-G\-R\-E\-Y\-\_\-\-R\-E\-D, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-N\-E, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-P\-A\-S\-T\-E\-L, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-P\-R\-I\-M\-A\-R\-Y, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-S\-E\-Q\-U\-E\-N\-T\-I\-A\-L\-\_\-\-S\-I\-N\-G\-L\-E\-H\-U\-E\-\_\-\-R\-E\-D, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-S\-E\-Q\-U\-E\-N\-T\-I\-A\-L\-\_\-\-S\-I\-N\-G\-L\-E\-H\-U\-E\-\_\-\-R\-E\-D\-\_\-\-L\-I\-G\-H\-T\-E\-R, C\-O\-L\-O\-R\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-W\-H\-I\-T\-E\-\_\-\-R\-E\-D, colorxlate(), F\-A\-L\-S\-E, F\-R\-E\-E, M\-A\-L\-L\-O\-C, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, M\-A\-X, M\-A\-X\-\_\-\-C\-O\-L\-O\-R, M\-I\-N, modularity\-\_\-clustering(), mq\-\_\-clustering(), N\-\_\-\-N\-E\-W, N\-D\-\_\-id, N\-U\-L\-L, palette\-\_\-adam, palette\-\_\-adam\-\_\-blend, palette\-\_\-blue\-\_\-to\-\_\-yellow, palette\-\_\-grey, palette\-\_\-grey\-\_\-to\-\_\-red, palette\-\_\-pastel, palette\-\_\-primary, palette\-\_\-sequential\-\_\-singlehue\-\_\-red, palette\-\_\-sequential\-\_\-singlehue\-\_\-red\-\_\-lighter, palette\-\_\-white\-\_\-to\-\_\-red, P\-O\-I\-N\-T\-S, real, color\-\_\-s\-::\-R\-G\-B\-A, R\-G\-B\-A\-\_\-\-D\-O\-U\-B\-L\-E, Sparse\-Matrix\-\_\-from\-\_\-coordinate\-\_\-arrays(), T\-R\-U\-E, color\-\_\-s\-::u, and Verbose.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!Import\-\_\-dot\-\_\-splines@{Import\-\_\-dot\-\_\-splines}}
\index{Import\-\_\-dot\-\_\-splines@{Import\-\_\-dot\-\_\-splines}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{Import\-\_\-dot\-\_\-splines}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} Import\-\_\-dot\-\_\-splines (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int} $\ast$}]{ne, }
\item[{char $\ast$$\ast$$\ast$}]{xsplines}
\end{DoxyParamCaption}
)}\label{DotIO_8c_af3bd1019dcc0cc5eb344cdc103e9037d}


Definition at line 342 of file Dot\-I\-O.\-c.



References agattr(), A\-G\-E\-D\-G\-E, agfstnode(), agfstout(), agnedges(), agnxtnode(), agnxtout(), agxget(), N\-D\-\_\-id, and N\-U\-L\-L.

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


Definition at line 1182 of file Dot\-I\-O.\-c.



References aginit(), A\-G\-N\-O\-D\-E, and T\-R\-U\-E.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!make\-Dot\-Graph@{make\-Dot\-Graph}}
\index{make\-Dot\-Graph@{make\-Dot\-Graph}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{make\-Dot\-Graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ make\-Dot\-Graph (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{char $\ast$}]{name, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{with\-\_\-color, }
\item[{{\bf int}}]{with\-\_\-label, }
\item[{{\bf int}}]{use\-\_\-matrix\-\_\-value}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a37b50a6b61a5a5e6356757abb3169fa1}


Definition at line 466 of file Dot\-I\-O.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, A\-B\-S, agattr(), Agdirected, A\-G\-E\-D\-G\-E, agedge(), agfstnode(), A\-G\-N\-O\-D\-E, agnxtnode(), agopen(), A\-G\-R\-A\-P\-H, Agundirected, agxset(), distance(), F\-A\-L\-S\-E, F\-R\-E\-E, hue2rgb(), Sparse\-Matrix\-\_\-struct\-::ia, Sparse\-Matrix\-\_\-struct\-::ja, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-L\-L\-O\-C, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-O\-M\-P\-L\-E\-X, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-E\-G\-E\-R, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, M\-A\-X, M\-I\-N, N\-\_\-\-N\-E\-W, N\-D\-\_\-id, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, real, Sparse\-Matrix\-\_\-known\-\_\-undirected, strip\-\_\-dir(), T\-R\-U\-E, and Sparse\-Matrix\-\_\-struct\-::type.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!set\-Dot\-Node\-I\-D@{set\-Dot\-Node\-I\-D}}
\index{set\-Dot\-Node\-I\-D@{set\-Dot\-Node\-I\-D}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{set\-Dot\-Node\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}void set\-Dot\-Node\-I\-D (
\begin{DoxyParamCaption}
\item[{{\bf Agnode\-\_\-t} $\ast$}]{n, }
\item[{{\bf int}}]{v}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a9fc8dac068fc1afc3a4f457185979adb}


Definition at line 1187 of file Dot\-I\-O.\-c.



References N\-D\-\_\-id.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!Sparse\-Matrix\-\_\-import\-\_\-dot@{Sparse\-Matrix\-\_\-import\-\_\-dot}}
\index{Sparse\-Matrix\-\_\-import\-\_\-dot@{Sparse\-Matrix\-\_\-import\-\_\-dot}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{Sparse\-Matrix\-\_\-import\-\_\-dot}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sparse\-Matrix} Sparse\-Matrix\-\_\-import\-\_\-dot (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$$\ast$}]{label\-\_\-sizes, }
\item[{{\bf real} $\ast$$\ast$}]{x, }
\item[{{\bf int} $\ast$}]{n\-\_\-edge\-\_\-label\-\_\-nodes, }
\item[{{\bf int} $\ast$$\ast$}]{edge\-\_\-label\-\_\-nodes, }
\item[{{\bf int}}]{format, }
\item[{{\bf Sparse\-Matrix} $\ast$}]{D}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a8e1b1943fce224528f507421d2fa971b}


Definition at line 135 of file Dot\-I\-O.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, agattr(), A\-G\-E\-D\-G\-E, agerr(), A\-G\-E\-R\-R, agfstnode(), agfstout(), agget(), aghead(), agnameof(), agnedges(), agnnodes(), A\-G\-N\-O\-D\-E, agnxtnode(), agnxtout(), agxget(), assert, F\-A\-L\-S\-E, F\-O\-R\-M\-A\-T\-\_\-\-C\-O\-O\-R\-D, F\-O\-R\-M\-A\-T\-\_\-\-C\-S\-R, F\-R\-E\-E, Sparse\-Matrix\-\_\-struct\-::ia, Sparse\-Matrix\-\_\-struct\-::ja, M\-A\-L\-L\-O\-C, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, N\-\_\-\-N\-E\-W, N\-D\-\_\-id, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, P\-O\-I\-N\-T\-S, real, Sparse\-Matrix\-\_\-from\-\_\-coordinate\-\_\-arrays(), Sparse\-Matrix\-\_\-new(), and T\-R\-U\-E.

\index{Dot\-I\-O.\-c@{Dot\-I\-O.\-c}!Sparse\-Matrix\-\_\-read\-\_\-dot@{Sparse\-Matrix\-\_\-read\-\_\-dot}}
\index{Sparse\-Matrix\-\_\-read\-\_\-dot@{Sparse\-Matrix\-\_\-read\-\_\-dot}!DotIO.c@{Dot\-I\-O.\-c}}
\subsubsection[{Sparse\-Matrix\-\_\-read\-\_\-dot}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Agraph\-\_\-t}$\ast$ Sparse\-Matrix\-\_\-read\-\_\-dot (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{f}
\end{DoxyParamCaption}
)}\label{DotIO_8c_a8117a65627ee606c855f6e0c33ed38ce}


Definition at line 122 of file Dot\-I\-O.\-c.



References aginit(), A\-G\-N\-O\-D\-E, agread(), and T\-R\-U\-E.

