Graphviz  2.41.20170921.2350
Data Structures | Macros | Functions | Variables
neatosplines.c File Reference
#include "config.h"
#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


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


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)
Ppoly_tmakeObstacle (node_t *n, expand_t *pmargin, boolean isOrtho)
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, boolean set_aspect)
void spline_edges (graph_t *g)
void neato_translate (Agraph_t *g)
boolean neato_set_aspect (graph_t *g)


Dtdisc_t edgeItemDisc

Macro Definition Documentation

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

Definition at line 536 of file neatosplines.c.

Function Documentation

double drand48 ( void  )

Definition at line 2005 of file utils.c.

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

Definition at line 442 of file neatosplines.c.

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

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,
boolean  isOrtho 
void makeSelfArcs ( path P,
edge_t e,
int  stepx 
void makeSpline ( graph_t g,
edge_t e,
Ppoly_t **  obs,
int  npoly,
boolean  chkPts 
boolean neato_set_aspect ( graph_t g)

Definition at line 1096 of file neatosplines.c.

References agfstnode(), agnxtnode(), FALSE, ND_coord, ND_pos, and POINTS_PER_INCH.

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

void neato_translate ( Agraph_t g)

Definition at line 970 of file neatosplines.c.

References agfstnode(), agfstout(), agnxtnode(), agnxtout(), ED_spl, GD_bb, ND_pos, ND_xlabel, PS2INCH, pointf_s::x, and pointf_s::y.

Referenced by init_nop().

void printvis ( vconfig_t cp)

Definition at line 19 of file printvis.c.

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

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

Definition at line 748 of file neatosplines.c.

References splineEdges().

Referenced by osage_layout(), and spline_edges0().

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

Variable Documentation

Dtdisc_t edgeItemDisc
Initial value:
= {
offsetof(edgeitem, id),
offsetof(edgeitem, link),
(Dtmake_f) newitem,
(Dtfree_f) freeitem,
(Dtcompar_f) cmpitems,
int(* Dtcompar_f)(Dt_t *, void *, void *, Dtdisc_t *)
Definition: cdt.h:40
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:38
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:39

Definition at line 158 of file neatosplines.c.