Graphviz
2.41.20171026.1811
|
#include "config.h"
#include "neato.h"
#include "adjust.h"
#include "pathplan.h"
#include "vispath.h"
#include "multispline.h"
Go to the source code of this file.
Data Structures | |
struct | edgeinfo |
struct | edgeitem |
Macros | |
#define | BOUNDARY_PORT(e) ((ED_tail_port(e).side)||(ED_head_port(e).side)) |
Functions | |
double | drand48 (void) |
void | printvis (vconfig_t *cp) |
int | in_poly (Ppoly_t argpoly, Ppoint_t q) |
void | makeSelfArcs (path *P, edge_t *e, int stepx) |
Ppoly_t * | makeObstacle (node_t *n, expand_t *pmargin, boolean isOrtho) |
Ppolyline_t | getPath (edge_t *e, vconfig_t *vconfig, int chkPts, Ppoly_t **obs, int npoly) |
void | makeSpline (graph_t *g, edge_t *e, Ppoly_t **obs, int npoly, boolean chkPts) |
int | splineEdges (graph_t *g, int(*edgefn)(graph_t *, expand_t *, int), int edgetype) |
int | spline_edges1 (graph_t *g, int edgetype) |
void | spline_edges0 (graph_t *g, boolean set_aspect) |
void | spline_edges (graph_t *g) |
void | neato_translate (Agraph_t *g) |
boolean | neato_set_aspect (graph_t *g) |
Variables | |
Dtdisc_t | edgeItemDisc |
#define BOUNDARY_PORT | ( | e | ) | ((ED_tail_port(e).side)||(ED_head_port(e).side)) |
Definition at line 536 of file neatosplines.c.
Definition at line 442 of file neatosplines.c.
References aghead(), agtail(), ED_head_port, ED_tail_port, ND_coord, ND_lim, Pobspath(), and POLYID_NONE.
Referenced by compoundEdges().
Definition at line 29 of file inpoly.c.
Referenced by makeSpline().
Definition at line 267 of file neatosplines.c.
References field_t::b, expand_t::doAdd, drand48(), FIXEDSHAPE, LEN, boxf::LL, M_PI, N_NEW, ND_coord, ND_ht, ND_lw, ND_rw, ND_shape_info, NEW, NULL, polygon_t::option, Ppoly_t::pn, polyBB(), Ppoly_t::ps, SH_EPSF, SH_POINT, SH_POLY, SH_RECORD, shapeOf(), polygon_t::sides, boxf::UR, polygon_t::vertices, Pxy_t::x, pointf_s::x, expand_t::x, Pxy_t::y, pointf_s::y, and expand_t::y.
Definition at line 226 of file neatosplines.c.
References agraphof(), agtail(), Concentrate, ED_count, ED_label, ED_to_virt, makePortLabels(), makeSelfEdge(), N_GNEW, and updateBB().
Referenced by compoundEdges().
Definition at line 497 of file neatosplines.c.
References addEdgeLabels(), agerr(), AGERR, aghead(), agnameof(), agtail(), clip_and_install(), ED_path, in_poly(), Ppoly_t::pn, POLYID_NONE, Proutespline(), Ppoly_t::ps, Verbose, Pxy_t::x, and Pxy_t::y.
Referenced by compoundEdges().
Definition at line 1096 of file neatosplines.c.
References agfstnode(), agnxtnode(), FALSE, ND_coord, ND_pos, and POINTS_PER_INCH.
Referenced by fdp_layout(), init_nop(), and spline_edges0().
void neato_translate | ( | Agraph_t * | g | ) |
Definition at line 970 of file neatosplines.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), ED_spl, GD_bb, ND_pos, ND_xlabel, PS2INCH, pointf_s::x, and pointf_s::y.
Referenced by init_nop().
void printvis | ( | vconfig_t * | cp | ) |
Definition at line 19 of file printvis.c.
References vconfig_s::N, vconfig_s::next, vconfig_s::P, vconfig_s::prev, and vconfig_s::vis.
void spline_edges | ( | graph_t * | g | ) |
Definition at line 804 of file neatosplines.c.
References agfstnode(), agnxtnode(), compute_bb(), GD_bb, ND_pos, PS2INCH, spline_edges0(), TRUE, pointf_s::x, and pointf_s::y.
Referenced by circo_layout(), neato_layout(), sfdp_layout(), and twopi_layout().
Definition at line 767 of file neatosplines.c.
References agerr(), AGWARN, EDGE_TYPE, ET_NONE, ET_ORTHO, ET_PLINE, GD_flags, neato_set_aspect(), Agraph_s::root, and spline_edges1().
Referenced by init_nop(), osage_layout(), and spline_edges().
Definition at line 748 of file neatosplines.c.
References splineEdges().
Referenced by osage_layout(), and spline_edges0().
Definition at line 700 of file neatosplines.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), dtclose(), dtopen(), Dtoset, ED_count, ED_spl, ED_to_virt, esepFactor(), GVSPLINES, Nop, resolvePorts(), and State.
Referenced by spline_edges1().
Dtdisc_t edgeItemDisc |
Definition at line 158 of file neatosplines.c.