Graphviz 13.1.0~dev.20250626.0830
|
#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) |
returns true if p is on or in box 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 128 of file compound.c.
References fcmp(), and sign().
Referenced by findHorizontal().
|
static |
Definition at line 107 of file compound.c.
References fcmp(), and sign().
Referenced by findVertical().
void dot_compoundEdges | ( | graph_t * | g | ) |
Definition at line 446 of file compound.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), dtclose(), makeCompoundEdge(), and mkClustMap().
Referenced by dotLayout().
|
static |
Definition at line 195 of file compound.c.
References Bezier(), countHorzCross(), findHorizontal(), xmax, and xmin.
Referenced by findHorizontal(), and splineIntersectf().
|
static |
Definition at line 154 of file compound.c.
References Bezier(), countVertCross(), findVertical(), ymax, and ymin.
Referenced by findVertical(), and splineIntersectf().
Definition at line 83 of file compound.c.
References agwarningf(), findCluster(), and NULL.
Referenced by makeCompoundEdge().
Definition at line 74 of file compound.c.
References INSIDE.
Referenced by makeCompoundEdge().
Definition at line 282 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 235 of file compound.c.
References Bezier(), findHorizontal(), findVertical(), boxf::LL, MIN, NULL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by makeCompoundEdge().