Graphviz 13.1.3~dev.20250829.0113
|
#include <dotgen/dot.h>
#include <math.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 bool | 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 27 of file compound.c.
References agerrorf(), boxf::LL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by makeCompoundEdge().
|
static |
Definition at line 126 of file compound.c.
References fcmp(), and sign().
Referenced by findHorizontal().
|
static |
Definition at line 105 of file compound.c.
References fcmp(), and sign().
Referenced by findVertical().
void dot_compoundEdges | ( | graph_t * | g | ) |
Definition at line 444 of file compound.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), dtclose(), makeCompoundEdge(), and mkClustMap().
Referenced by dotLayout().
|
static |
Definition at line 193 of file compound.c.
References Bezier(), countHorzCross(), findHorizontal(), xmax, and xmin.
Referenced by findHorizontal(), and splineIntersectf().
|
static |
Definition at line 152 of file compound.c.
References Bezier(), countVertCross(), findVertical(), ymax, and ymin.
Referenced by findVertical(), and splineIntersectf().
Definition at line 81 of file compound.c.
References agwarningf(), findCluster(), and NULL.
Referenced by makeCompoundEdge().
Definition at line 73 of file compound.c.
References INSIDE.
Referenced by makeCompoundEdge().
Definition at line 280 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 233 of file compound.c.
References Bezier(), findHorizontal(), findVertical(), boxf::LL, MIN, NULL, boxf::UR, pointf_s::x, and pointf_s::y.
Referenced by makeCompoundEdge().