|
Graphviz
2.29.20120523.0446
|
#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 |
Defines | |
| #define | SEPFACT 0.8 |
| #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} |
Functions | |
| double * | getSizes (Agraph_t *g, pointf pad, int *n_elabels, int **elabels) |
| SparseMatrix | makeMatrix (Agraph_t *g, int dim, SparseMatrix *D) |
| void | 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) |
Variables | |
| static Point | ne |
| static Point | sw |
| static Point | se |
| #define IS_LNODE | ( | n | ) | (!strncmp(agnameof(n),ELS,ELSN)) |
Definition at line 666 of file adjust.c.
Referenced by getSizes().
| #define SEPFACT 0.8 |
Definition at line 38 of file adjust.c.
Referenced by sepFactor(), and esepFactor().
| #define STRLEN | ( | s | ) | ((sizeof(s)-1)/sizeof(char)) |
Definition at line 946 of file adjust.c.
Referenced by gvconfig_plugin_install_from_library().
| int adjustNodes | ( | graph_t * | G | ) |
Definition at line 1164 of file adjust.c.
References removeOverlapAs(), and agget().
Referenced by circoLayout(), init_nop(), and twopi_layout().
Definition at line 1232 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 * | dp, | ||
| 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(), aghead, agxget(), Agsym_t::index, and free().
| void normalize | ( | graph_t * | g | ) |
Definition at line 902 of file adjust.c.
References mapbool(), agget(), agfstnode(), pointf_s::x, ND_pos, pointf_s::y, agnxtnode(), NULL, agfstout(), aghead, and agtail.
Referenced by removeOverlapWith().
| int removeOverlapAs | ( | graph_t * | G, |
| char * | flag | ||
| ) |
Definition at line 1147 of file adjust.c.
References agnnodes(), NULL, and removeOverlapWith().
Referenced by fdp_xLayout(), and adjustNodes().
| int removeOverlapWith | ( | graph_t * | G, |
| adjust_data * | am | ||
| ) |
Definition at line 1049 of file adjust.c.
References agnnodes(), normalize(), adjust_data::mode, AM_NONE, Verbose, agnameof, 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().
Definition at line 1206 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().
Definition at line 53 of file adjust.c.
Referenced by selfRightSpace().
1.7.5