Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
info.c File Reference
#include <neatogen/neato.h>
#include <stdio.h>
#include <neatogen/info.h>
#include <stddef.h>
#include <util/alloc.h>
Include dependency graph for info.c:

Go to the source code of this file.

Functions

static int compare (Point o, Point p, Point q)
 
void addVertex (Site *s, double x, double y)
 insert vertex into sorted list
 

Variables

Info_tnodeInfo
 array of node info
 

Function Documentation

◆ addVertex()

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

Definition at line 101 of file info.c.

References cmp(), compare(), gv_recalloc(), Info_t::n_verts, nodeInfo, Info_t::verts, and Point::x.

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,
Point  p,
Point  q 
)
static

Definition at line 28 of file info.c.

References Point::x, and Point::y.

Referenced by addVertex().

Here is the caller graph for this function:

Variable Documentation

◆ nodeInfo