Graphviz  2.29.20120524.0446
Data Structures | Defines | Functions | Variables
lib/neatogen/neatosplines.c File Reference
#include "neato.h"
#include "adjust.h"
#include "pathplan.h"
#include "vispath.h"
#include "multispline.h"
Include dependency graph for neatosplines.c:

Go to the source code of this file.

Data Structures

struct  edgeinfo
struct  edgeitem

Defines

#define BOUNDARY_PORT(e)   ((ED_tail_port(e).side)||(ED_head_port(e).side))

Functions

double drand48 (void)
void printvis (vconfig_t *cp)
int in_poly (Ppoly_t argpoly, Ppoint_t q)
void makeSelfArcs (path *P, edge_t *e, int stepx)
void makeStraightEdge (graph_t *g, edge_t *e, int doPolyline)
Ppoly_tmakeObstacle (node_t *n, expand_t *pmargin)
Ppolyline_t getPath (edge_t *e, vconfig_t *vconfig, int chkPts, Ppoly_t **obs, int npoly)
void makeSpline (graph_t *g, edge_t *e, Ppoly_t **obs, int npoly, boolean chkPts)
int splineEdges (graph_t *g, int(*edgefn)(graph_t *, expand_t *, int), int edgetype)
int spline_edges1 (graph_t *g, int edgetype)
void spline_edges0 (graph_t *g)
void spline_edges (graph_t *g)
void neato_set_aspect (graph_t *g)

Variables

Dtdisc_t edgeItemDisc

Define Documentation

#define BOUNDARY_PORT (   e)    ((ED_tail_port(e).side)||(ED_head_port(e).side))

Definition at line 584 of file neatosplines.c.


Function Documentation

double drand48 ( void  )

Definition at line 2091 of file utils.c.

Ppolyline_t getPath ( edge_t e,
vconfig_t vconfig,
int  chkPts,
Ppoly_t **  obs,
int  npoly 
)

Definition at line 490 of file neatosplines.c.

References ND_coord, agtail, ED_tail_port, aghead, ED_head_port, POLYID_NONE, ND_lim, and Pobspath().

Referenced by compoundEdges().

int in_poly ( Ppoly_t  argpoly,
Ppoint_t  q 
)

Definition at line 29 of file inpoly.c.

Referenced by makeSpline().

Ppoly_t* makeObstacle ( node_t n,
expand_t pmargin 
)
void makeSelfArcs ( path P,
edge_t e,
int  stepx 
)
void makeSpline ( graph_t g,
edge_t e,
Ppoly_t **  obs,
int  npoly,
boolean  chkPts 
)
void makeStraightEdge ( graph_t g,
edge_t e,
int  doPolyline 
)
void neato_set_aspect ( graph_t g)

Definition at line 1022 of file neatosplines.c.

References Agraph_t::root, agfstnode(), agnxtnode(), ND_coord, and ND_pos.

Referenced by fdp_layout(), init_nop(), and spline_edges0().

void printvis ( vconfig_t cp)

Definition at line 19 of file printvis.c.

References vconfig_s::next, vconfig_s::prev, vconfig_s::P, vconfig_s::vis, and vconfig_s::N.

void spline_edges ( graph_t g)
void spline_edges0 ( graph_t g)
int spline_edges1 ( graph_t g,
int  edgetype 
)

Definition at line 780 of file neatosplines.c.

References splineEdges().

Referenced by spline_edges0().

int splineEdges ( graph_t g,
int(*)(graph_t *, expand_t *, int)  edgefn,
int  edgetype 
)

Variable Documentation

Initial value:
 {
    offsetof(edgeitem, id),
    sizeof(edgeinfo),
    offsetof(edgeitem, link),
    (Dtmake_f) newitem,
    (Dtfree_f) freeitem,
    (Dtcompar_f) cmpitems,
    0,
    0,
    0
}

Definition at line 159 of file neatosplines.c.