|
Graphviz
2.31.20130618.0446
|


Go to the source code of this file.
Data Structures | |
| struct | adjust_data |
| struct | expand_t |
Defines | |
| #define | DFLT_MARGIN 4 |
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 |
Definition at line 26 of file adjust.h.
Referenced by sepFactor(), and esepFactor().
| enum adjust_mode |
| int adjustNodes | ( | graph_t * | G | ) |
Definition at line 1206 of file adjust.c.
References removeOverlapAs(), and agget().
Referenced by circoLayout(), init_nop(), and twopi_layout().
| int cAdjust | ( | graph_t * | , |
| int | |||
| ) |
Definition at line 702 of file constraint.c.
References agnnodes(), N_GNEW, sepFactor(), agfstnode(), agnxtnode(), AM_ORTHOXY, AM_ORTHOYX, AM_ORTHO, AM_ORTHO_YX, AM_PORTHOXY, AM_PORTHOYX, AM_PORTHO_YX, AM_PORTHO, nitem::np, nitem::pos, ND_pos, point::x, SCALE, point::y, and free().
Referenced by removeOverlapWith().
Definition at line 1274 of file adjust.c.
References agget(), SEPFACT, expand_t::x, expand_t::y, DFLT_MARGIN, expand_t::doAdd, and Verbose.
Referenced by splineEdges().
Definition at line 671 of file adjust.c.
References N_GNEW, agnnodes(), agfstnode(), agnxtnode(), IS_LNODE, ND_id, ND_width, pointf_s::x, ND_height, and pointf_s::y.
| adjust_data* graphAdjustMode | ( | graph_t * | G, |
| adjust_data * | , | ||
| char * | dflt | ||
| ) |
| SparseMatrix makeMatrix | ( | Agraph_t * | g, |
| int | dim, | ||
| SparseMatrix * | D | ||
| ) |
Definition at line 704 of file adjust.c.
References NULL, agnnodes(), agnedges(), agfstnode(), agnxtnode(), ND_id, N_GNEW, agfindedgeattr, N_NEW, agfstout(), agnxtout(), agxget(), Agsym_t::index, and free().
| int normalize | ( | graph_t * | g | ) |
Definition at line 931 of file adjust.c.
References agfstnode(), pointf_s::x, ND_pos, pointf_s::y, agnxtnode(), NULL, and agfstout().
Referenced by removeOverlapAs().
| int removeOverlapAs | ( | graph_t * | , |
| char * | |||
| ) |
Definition at line 1186 of file adjust.c.
References agnnodes(), removeOverlapWith(), and normalize().
Referenced by fdp_xLayout(), and adjustNodes().
| int removeOverlapWith | ( | graph_t * | , |
| adjust_data * | |||
| ) |
Definition at line 1090 of file adjust.c.
References agnnodes(), adjust_data::mode, AM_NONE, Verbose, adjust_data::print, AM_SCALE, AM_NSCALE, scAdjust(), AM_SCALEXY, AM_PUSH, AM_PUSHPULL, AM_PORTHO_YX, AM_PORTHO, AM_PORTHOXY, AM_PORTHOYX, AM_ORTHO_YX, AM_ORTHO, AM_ORTHOXY, AM_ORTHOYX, cAdjust(), AM_COMPRESS, AM_PRISM, AM_IPSEP, AM_VPSC, AM_VOR, agerr(), AGWARN, and free().
Referenced by removeOverlapAs(), and neato_layout().
| int scAdjust | ( | graph_t * | , |
| int | |||
| ) |
Definition at line 937 of file constraint.c.
References agnnodes(), N_GNEW, sepFactor(), expand_t::doAdd, expand_t::x, expand_t::y, agfstnode(), agnxtnode(), ND_width, ND_height, info::pos, pointf_s::x, ND_pos, pointf_s::y, info::bb, boxf::LL, boxf::UR, info::wd2, info::ht2, info::np, and free().
Referenced by removeOverlapWith().
Definition at line 1248 of file adjust.c.
References agget(), SEPFACT, expand_t::x, expand_t::y, DFLT_MARGIN, expand_t::doAdd, and Verbose.
Referenced by cAdjust(), and scAdjust().
1.7.5