\section{lib/neatogen/embed\-\_\-graph.c File Reference}
\label{embed__graph_8c}\index{lib/neatogen/embed\-\_\-graph.\-c@{lib/neatogen/embed\-\_\-graph.\-c}}
{\ttfamily \#include \char`\"{}dijkstra.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}bfs.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}kkutils.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}embed\-\_\-graph.\-h\char`\"{}}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$time.\-h$>$}\\*
Include dependency graph for embed\-\_\-graph.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{embed__graph_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf embed\-\_\-graph} ({\bf vtx\-\_\-data} $\ast${\bf graph}, {\bf int} n, {\bf int} dim, {\bf Dist\-Type} $\ast$$\ast$$\ast$Coords, {\bf int} reweight\-\_\-graph)
\item 
void {\bf center\-\_\-coordinate} ({\bf Dist\-Type} $\ast$$\ast$coords, {\bf int} n, {\bf int} dim)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{embed\-\_\-graph.\-c@{embed\-\_\-graph.\-c}!center\-\_\-coordinate@{center\-\_\-coordinate}}
\index{center\-\_\-coordinate@{center\-\_\-coordinate}!embed_graph.c@{embed\-\_\-graph.\-c}}
\subsubsection[{center\-\_\-coordinate}]{\setlength{\rightskip}{0pt plus 5cm}void center\-\_\-coordinate (
\begin{DoxyParamCaption}
\item[{{\bf Dist\-Type} $\ast$$\ast$}]{coords, }
\item[{{\bf int}}]{n, }
\item[{{\bf int}}]{dim}
\end{DoxyParamCaption}
)}\label{embed__graph_8c_aa81071ca565d6943d4b00b5a40c8f15c}


Definition at line 110 of file embed\-\_\-graph.\-c.

\index{embed\-\_\-graph.\-c@{embed\-\_\-graph.\-c}!embed\-\_\-graph@{embed\-\_\-graph}}
\index{embed\-\_\-graph@{embed\-\_\-graph}!embed_graph.c@{embed\-\_\-graph.\-c}}
\subsubsection[{embed\-\_\-graph}]{\setlength{\rightskip}{0pt plus 5cm}void embed\-\_\-graph (
\begin{DoxyParamCaption}
\item[{{\bf vtx\-\_\-data} $\ast$}]{graph, }
\item[{{\bf int}}]{n, }
\item[{{\bf int}}]{dim, }
\item[{{\bf Dist\-Type} $\ast$$\ast$$\ast$}]{Coords, }
\item[{{\bf int}}]{reweight\-\_\-graph}
\end{DoxyParamCaption}
)}\label{embed__graph_8c_a7d2f6447eddd1b04cafdc53dd0817543}


Definition at line 32 of file embed\-\_\-graph.\-c.



References bfs(), compute\-\_\-new\-\_\-weights(), dijkstra(), dist(), vtx\-\_\-data\-::ewgts, M\-I\-N, mk\-Queue(), N\-\_\-\-G\-N\-E\-W, node(), N\-U\-L\-L, and restore\-\_\-old\-\_\-weights().

