Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
info.c File Reference
#include <neatogen/neato.h>
#include <stdio.h>
#include <neatogen/mem.h>
#include <neatogen/info.h>
Include dependency graph for info.c:

Go to the source code of this file.

Functions

void infoinit (void)
 
static int compare (Point *o, PtItem *p, PtItem *q)
 
void addVertex (Site *s, double x, double y)
 

Variables

Info_tnodeInfo
 
static Freelist pfl
 

Function Documentation

◆ addVertex()

void addVertex ( Site s,
double  x,
double  y 
)

Definition at line 110 of file info.c.

References cmp(), compare(), getfree(), ptitem::next, nodeInfo, ptitem::p, pfl, prev, Info_t::verts, Point::x, and Point::y.

Referenced by addCorners(), and doSeg().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compare()

static int compare ( Point o,
PtItem p,
PtItem q 
)
static

Definition at line 34 of file info.c.

References NULL, ptitem::p, Point::x, and Point::y.

Referenced by addVertex().

Here is the caller graph for this function:

◆ infoinit()

void infoinit ( void  )

Definition at line 20 of file info.c.

References freeinit(), and pfl.

Referenced by freeNodes(), and sortSites().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nodeInfo

◆ pfl

Freelist pfl
static

Definition at line 18 of file info.c.

Referenced by addVertex(), and infoinit().