Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | adjust_data |
struct | expand_t |
Macros | |
#define | DFLT_MARGIN 4 /* 4 points */ |
Enumerations | |
enum | adjust_mode { AM_NONE, AM_VOR, 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_COMPRESS, AM_VPSC, AM_IPSEP, AM_PRISM } |
Functions | |
expand_t | sepFactor (graph_t *G) |
expand_t | esepFactor (graph_t *G) |
int | adjustNodes (graph_t *G) |
int | normalize (graph_t *g) |
int | removeOverlapAs (graph_t *, char *) |
int | removeOverlapWith (graph_t *, adjust_data *) |
int | cAdjust (graph_t *, int) |
int | scAdjust (graph_t *, int) |
adjust_data * | graphAdjustMode (graph_t *G, adjust_data *, char *dflt) |
double * | getSizes (Agraph_t *g, pointf pad, int *n_elabels, int **elabels) |
SparseMatrix | makeMatrix (Agraph_t *g, int dim, SparseMatrix *D) |
#define DFLT_MARGIN 4 /* 4 points */ |
Definition at line 26 of file adjust.h.
Referenced by esepFactor(), sepFactor(), and sfdp_layout().
enum adjust_mode |
Definition at line 1235 of file adjust.c.
References agget(), and removeOverlapAs().
Referenced by circoLayout(), init_nop(), and twopi_layout().
Definition at line 635 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, N_GNEW, ND_pos, nitem::np, nitem::pos, PS2INCH, SCALE, sepFactor(), point::x, and point::y.
Referenced by removeOverlapWith().
Definition at line 1313 of file adjust.c.
References agget(), DFLT_MARGIN, expand_t::doAdd, SEPFACT, Verbose, expand_t::x, and expand_t::y.
Referenced by splineEdges().
Definition at line 670 of file adjust.c.
References agfstnode(), agnnodes(), agnxtnode(), IS_LNODE, N_GNEW, ND_height, ND_id, ND_width, Ndim, real, pointf_s::x, and pointf_s::y.
adjust_data* graphAdjustMode | ( | graph_t * | G, |
adjust_data * | , | ||
char * | dflt | ||
) |
Definition at line 1077 of file adjust.c.
References agget().
Referenced by neato_layout(), and sfdp_layout().
SparseMatrix makeMatrix | ( | Agraph_t * | g, |
int | dim, | ||
SparseMatrix * | D | ||
) |
Definition at line 703 of file adjust.c.
References agfindedgeattr, agfstnode(), agfstout(), aghead(), agnedges(), agnnodes(), agnxtnode(), agnxtout(), agxget(), MATRIX_TYPE_REAL, N_GNEW, N_NEW, ND_id, NULL, real, and SparseMatrix_from_coordinate_arrays().
Definition at line 922 of file adjust.c.
References agfstnode(), agfstout(), aghead(), agnxtnode(), agtail(), ND_pos, NULL, pointf_s::x, and pointf_s::y.
Referenced by removeOverlapWith().
Definition at line 1221 of file adjust.c.
References agnnodes(), and removeOverlapWith().
Referenced by adjustNodes(), and fdp_xLayout().
int removeOverlapWith | ( | graph_t * | , |
adjust_data * | |||
) |
Definition at line 1118 of file adjust.c.
References agerr(), agnameof(), agnnodes(), AGWARN, AM_COMPRESS, AM_IPSEP, AM_NONE, AM_NSCALE, AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX, AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, AM_PRISM, AM_PUSH, AM_PUSHPULL, AM_SCALE, AM_SCALEXY, AM_VOR, AM_VPSC, cAdjust(), fdpAdjust(), adjust_data::mode, normalize(), adjust_data::print, scAdjust(), and Verbose.
Referenced by neato_layout(), removeOverlapAs(), and sfdp_layout().
Definition at line 870 of file constraint.c.
References agfstnode(), agnnodes(), agnxtnode(), info::bb, expand_t::doAdd, info::ht2, boxf::LL, N_GNEW, ND_height, ND_pos, ND_width, info::np, info::pos, PS2INCH, sepFactor(), boxf::UR, Verbose, info::wd2, pointf_s::x, expand_t::x, pointf_s::y, and expand_t::y.
Referenced by removeOverlapWith().
Definition at line 1287 of file adjust.c.
References agget(), DFLT_MARGIN, expand_t::doAdd, SEPFACT, Verbose, expand_t::x, and expand_t::y.
Referenced by cAdjust(), compoundEdges(), scAdjust(), and sfdp_layout().