Graphviz 13.0.0~dev.20241220.2304
|
#include <dotgen/dot.h>
#include <stdbool.h>
#include <stddef.h>
#include <util/agxbuf.h>
#include <util/alloc.h>
#include <util/gv_math.h>
Go to the source code of this file.
Functions | |
static pointf | boxIntersectf (pointf pp, pointf cp, boxf *bp) |
static int | inBoxf (pointf p, boxf *bb) |
static graph_t * | getCluster (char *cluster_name, Dt_t *map) |
static int | countVertCross (pointf *pts, double xcoord) |
static int | countHorzCross (pointf *pts, double ycoord) |
static double | findVertical (pointf *pts, double tmin, double tmax, double xcoord, double ymin, double ymax) |
static double | findHorizontal (pointf *pts, double tmin, double tmax, double ycoord, double xmin, double xmax) |
static int | splineIntersectf (pointf *pts, boxf *bb) |
static void | makeCompoundEdge (edge_t *e, Dt_t *clustMap) |
void | dot_compoundEdges (graph_t *g) |
Definition at line 26 of file compound.c.
References agerrorf(), boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by makeCompoundEdge().
|
static |
Definition at line 133 of file compound.c.
References fcmp(), and sign().
Referenced by findHorizontal().
|
static |
Definition at line 111 of file compound.c.
References fcmp(), and sign().
Referenced by findVertical().
void dot_compoundEdges | ( | graph_t * | g | ) |
Definition at line 458 of file compound.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), dtclose(), makeCompoundEdge(), and mkClustMap().
Referenced by dotLayout().
|
static |
Definition at line 202 of file compound.c.
References Bezier(), countHorzCross(), findHorizontal(), xmax, and xmin.
Referenced by findHorizontal(), and splineIntersectf().
|
static |
Definition at line 160 of file compound.c.
References Bezier(), countVertCross(), findVertical(), ymax, and ymin.
Referenced by findVertical(), and splineIntersectf().
Definition at line 86 of file compound.c.
References agwarningf(), findCluster(), and NULL.
Referenced by makeCompoundEdge().
Definition at line 76 of file compound.c.
References INSIDE.
Referenced by makeCompoundEdge().
Definition at line 291 of file compound.c.
References agget(), aghead, agnameof(), agtail, agwarningf(), arrowEndClip(), arrowStartClip(), boxIntersectf(), ED_spl, bezier::eflag, bezier::ep, free(), GD_bb, getCluster(), gv_calloc(), head, inBoxf(), bezier::list, mid_pointf(), ND_coord, bezier::sflag, bezier::size, bezier::sp, and splineIntersectf().
Referenced by dot_compoundEdges().
Definition at line 243 of file compound.c.
References Bezier(), findHorizontal(), findVertical(), boxf::LL, MIN, NULL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by makeCompoundEdge().