Graphviz  2.41.20170921.2350
Data Structures | Macros | Functions
dotsplines.c File Reference
#include "dot.h"
Include dependency graph for dotsplines.c:

Go to the source code of this file.

Data Structures

struct  spline_info_t
 
struct  attr_state_t
 

Macros

#define NSUB   9 /* number of subdivisions, re-aiming splines */
 
#define CHUNK   128 /* in building list of edges */
 
#define MINW   16 /* minimum width of a box in the edge path */
 
#define HALFMINW   8
 
#define FWDEDGE   16
 
#define BWDEDGE   32
 
#define MAINGRAPH   64
 
#define AUXGRAPH   128
 
#define GRAPHTYPEMASK   192 /* the OR of the above */
 
#define MAKEFWDEDGE(new, old)
 
#define GROWEDGES   (edges = ALLOC (n_edges + CHUNK, edges, edge_t*))
 
#define LBL_SPACE   6 /* space between labels, in points */
 
#define NUMPTS   2000
 
#define DONT_WANT_ANY_ENDPOINT_PATH_REFINEMENT
 
#define REAL_CLUSTER(n)   (ND_clust(n)==g?NULL:ND_clust(n))
 
#define FUDGE   4
 

Functions

int portcmp (port p0, port p1)
 
void dot_splines (graph_t *g)
 

Macro Definition Documentation

#define AUXGRAPH   128

Definition at line 35 of file dotsplines.c.

#define BWDEDGE   32

Definition at line 32 of file dotsplines.c.

#define CHUNK   128 /* in building list of edges */

Definition at line 26 of file dotsplines.c.

#define DONT_WANT_ANY_ENDPOINT_PATH_REFINEMENT

Definition at line 1945 of file dotsplines.c.

#define FUDGE   4

Definition at line 2420 of file dotsplines.c.

#define FWDEDGE   16

Definition at line 31 of file dotsplines.c.

#define GRAPHTYPEMASK   192 /* the OR of the above */

Definition at line 36 of file dotsplines.c.

#define GROWEDGES   (edges = ALLOC (n_edges + CHUNK, edges, edge_t*))

Definition at line 82 of file dotsplines.c.

#define HALFMINW   8

Definition at line 29 of file dotsplines.c.

#define LBL_SPACE   6 /* space between labels, in points */

Definition at line 973 of file dotsplines.c.

#define MAINGRAPH   64

Definition at line 34 of file dotsplines.c.

#define MAKEFWDEDGE (   new,
  old 
)
Value:
{ \
edge_t *newp; \
newp = new; \
info = (Agedgeinfo_t*)newp->base.data; \
*info = *(Agedgeinfo_t*)old->base.data; \
*newp = *old; \
newp->base.data = (Agrec_t*)info; \
AGTAIL(newp) = AGHEAD(old); \
AGHEAD(newp) = AGTAIL(old); \
ED_to_orig(newp) = old; \
}
#define ED_head_port(e)
Definition: types.h:591
#define ED_to_orig(e)
Definition: types.h:601
#define ED_tail_port(e)
Definition: types.h:600
#define AGTAIL(e)
Definition: cgraph.h:406
#define VIRTUAL
Definition: const.h:28
Definition: cgraph.h:83
struct Agedgeinfo_t Agedgeinfo_t
struct Agedge_s edge_t
Definition: types.h:49
#define ED_edge_type(e)
Definition: types.h:585
#define AGHEAD(e)
Definition: cgraph.h:407

Definition at line 38 of file dotsplines.c.

#define MINW   16 /* minimum width of a box in the edge path */

Definition at line 28 of file dotsplines.c.

#define NSUB   9 /* number of subdivisions, re-aiming splines */

Definition at line 25 of file dotsplines.c.

#define NUMPTS   2000

Definition at line 1726 of file dotsplines.c.

#define REAL_CLUSTER (   n)    (ND_clust(n)==g?NULL:ND_clust(n))

Definition at line 2377 of file dotsplines.c.

Function Documentation

void dot_splines ( graph_t g)

Definition at line 519 of file dotsplines.c.

int portcmp ( port  p0,
port  p1 
)

Definition at line 116 of file dotsplines.c.

References port::defined, FALSE, port::p, pointf_s::x, and pointf_s::y.