Graphviz
2.41.20171026.1811
|
#include "neato.h"
#include "agxbuf.h"
#include "utils.h"
#include "ctype.h"
#include "voronoi.h"
#include "info.h"
#include "edges.h"
#include "site.h"
#include "heap.h"
#include "hedges.h"
#include "digcola.h"
Go to the source code of this file.
Data Structures | |
struct | lookup_t |
Macros | |
#define | SEPFACT 0.8 /* default esep/sep */ |
#define | ELS "|edgelabel|" |
#define | ELSN (sizeof(ELS)-1) |
#define | IS_LNODE(n) (!strncmp(agnameof(n),ELS,ELSN)) |
#define | STRLEN(s) ((sizeof(s)-1)/sizeof(char)) |
#define | ITEM(i, s, v) {i, s, STRLEN(s), v} |
#define | ISZERO(d) ((fabs(d) < 0.000000001)) |
Functions | |
double * | getSizes (Agraph_t *g, pointf pad, int *n_elabels, int **elabels) |
SparseMatrix | makeMatrix (Agraph_t *g, int dim, SparseMatrix *D) |
int | normalize (graph_t *g) |
adjust_data * | graphAdjustMode (graph_t *G, adjust_data *dp, char *dflt) |
int | removeOverlapWith (graph_t *G, adjust_data *am) |
int | removeOverlapAs (graph_t *G, char *flag) |
int | adjustNodes (graph_t *G) |
expand_t | sepFactor (graph_t *g) |
expand_t | esepFactor (graph_t *g) |
Definition at line 665 of file adjust.c.
Referenced by getSizes().
#define SEPFACT 0.8 /* default esep/sep */ |
Definition at line 38 of file adjust.c.
Referenced by esepFactor(), and sepFactor().
Definition at line 978 of file adjust.c.
Referenced by gvconfig_plugin_install_from_library().
Definition at line 1235 of file adjust.c.
References agget(), and removeOverlapAs().
Referenced by circoLayout(), init_nop(), and twopi_layout().
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 * | dp, | ||
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 * | G, |
adjust_data * | am | ||
) |
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 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().