/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/neatogen/adjust.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  adjust_data

Enumerations

enum  adjust_mode {
  AM_NONE, AM_VOR, AM_COMPRESS, AM_SCALE,
  AM_NSCALE, AM_SCALEXY, AM_PUSH, AM_PUSHPULL,
  AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX,
  AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX,
  AM_VPSC, AM_IPSEP
}

Functions

double expFactor (graph_t *G)
int adjustNodes (graph_t *G)
void normalize (graph_t *g)
int removeOverlap (graph_t *G)
int removeOverlapAs (graph_t *, char *)
int cAdjust (graph_t *, int)
int scAdjust (graph_t *, int)
adjust_datagraphAdjustMode (graph_t *G)


Enumeration Type Documentation

enum adjust_mode

Enumerator:
AM_NONE 
AM_VOR 
AM_COMPRESS 
AM_SCALE 
AM_NSCALE 
AM_SCALEXY 
AM_PUSH 
AM_PUSHPULL 
AM_ORTHO 
AM_ORTHO_YX 
AM_ORTHOXY 
AM_ORTHOYX 
AM_PORTHO 
AM_PORTHO_YX 
AM_PORTHOXY 
AM_PORTHOYX 
AM_VPSC 
AM_IPSEP 

Definition at line 26 of file adjust.h.


Function Documentation

int adjustNodes ( graph_t G  ) 

Definition at line 893 of file adjust.c.

References agnnodes(), normalize(), and removeOverlap().

Referenced by circoLayout(), init_nop(), neato_layout(), and twopi_layout().

int cAdjust ( graph_t ,
int   
)

Definition at line 624 of file constraint.c.

References agfstnode(), agnnodes(), agnxtnode(), AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX, AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, expFactor(), free(), N_GNEW, ND_pos, nitem::np, nitem::pos, SCALE, point::x, and point::y.

Referenced by removeOverlapAs().

double expFactor ( graph_t G  ) 

Definition at line 905 of file adjust.c.

References agget(), and SEPFACT.

Referenced by cAdjust(), scAdjust(), and splineEdges().

adjust_data* graphAdjustMode ( graph_t G  ) 

Definition at line 787 of file adjust.c.

References agget().

void normalize ( graph_t g  ) 

Definition at line 709 of file adjust.c.

References agfstnode(), agfstout(), agget(), agnxtnode(), Agedge_t::head, mapbool(), ND_pos, NULL, Agedge_t::tail, pointf_s::x, and pointf_s::y.

Referenced by adjustNodes(), and layout().

int removeOverlap ( graph_t G  ) 

Definition at line 884 of file adjust.c.

References agget(), and removeOverlapAs().

Referenced by adjustNodes().

int removeOverlapAs ( graph_t ,
char *   
)

Definition at line 798 of file adjust.c.

References agnnodes(), AM_COMPRESS, AM_NONE, AM_NSCALE, AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX, AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, AM_PUSH, AM_PUSHPULL, AM_SCALE, AM_SCALEXY, AM_VPSC, cAdjust(), free(), adjust_data::mode, Agraph_t::name, NULL, adjust_data::print, scAdjust(), and Verbose.

Referenced by fdp_xLayout(), and removeOverlap().

int scAdjust ( graph_t ,
int   
)

Definition at line 859 of file constraint.c.

References agfstnode(), agnnodes(), agnxtnode(), info::bb, expFactor(), free(), info::ht2, boxf::LL, N_GNEW, ND_height, ND_pos, ND_width, info::np, info::pos, boxf::UR, info::wd2, pointf_s::x, and pointf_s::y.

Referenced by removeOverlapAs().


Generated on Mon Mar 31 19:06:30 2008 for Graphviz by  doxygen 1.5.1