Graphviz  2.29.20120523.0446
Data Structures | Defines | Typedefs | Functions
lib/neatogen/constraint.c File Reference
#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

Defines

#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)

Define 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 608 of file constraint.c.

#define SCALE   10

Definition at line 23 of file constraint.c.

Referenced by cAdjust().

#define SCALE2   (SCALE/2)

Definition at line 24 of file constraint.c.


Typedef Documentation

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

Definition at line 36 of file constraint.c.

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

Definition at line 37 of file constraint.c.

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

Definition at line 768 of file constraint.c.


Function Documentation

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