Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions
constraint.c File Reference
#include "config.h"
#include "neato.h"
#include "adjust.h"
Include dependency graph for constraint.c:

Go to the source code of this file.

Data Structures

struct  nitem
 
struct  info
 

Macros

#define SCALE   10
 
#define SCALE2   (SCALE/2)
 
#define overlap(pb, qb)
 

Typedefs

typedef struct nitem nitem
 
typedef int(* distfn )(box *, box *)
 
typedef int(* intersectfn )(nitem *, nitem *)
 
typedef int(* sortfn_t )(const void *, const void *)
 

Functions

int cAdjust (graph_t *g, int mode)
 
int scAdjust (graph_t *g, int equal)
 

Macro Definition Documentation

#define overlap (   pb,
  qb 
)
Value:
((pb.LL.x <= qb.UR.x) && (qb.LL.x <= pb.UR.x) && \
(pb.LL.y <= qb.UR.y) && (qb.LL.y <= pb.UR.y))

Definition at line 549 of file constraint.c.

#define SCALE   10

Definition at line 21 of file constraint.c.

Referenced by cAdjust().

#define SCALE2   (SCALE/2)

Definition at line 22 of file constraint.c.

Typedef Documentation

typedef int(* distfn)(box *, box *)

Definition at line 34 of file constraint.c.

typedef int(* intersectfn)(nitem *, nitem *)

Definition at line 35 of file constraint.c.

typedef struct nitem nitem
typedef int(* sortfn_t)(const void *, const void *)

Definition at line 709 of file constraint.c.

Function Documentation

int cAdjust ( graph_t g,
int  mode 
)
int scAdjust ( graph_t g,
int  equal 
)