Graphviz
2.41.20171026.1811
|
#include "types.h"
Go to the source code of this file.
Data Structures | |
struct | pack_info |
Macros | |
#define | PK_COL_MAJOR (1 << 0) |
#define | PK_USER_VALS (1 << 1) |
#define | PK_LEFT_ALIGN (1 << 2) |
#define | PK_RIGHT_ALIGN (1 << 3) |
#define | PK_TOP_ALIGN (1 << 4) |
#define | PK_BOT_ALIGN (1 << 5) |
#define | PK_INPUT_ORDER (1 << 6) |
Typedefs | |
typedef unsigned int | packval_t |
Enumerations | |
enum | pack_mode { l_undef, l_clust, l_node, l_graph, l_array, l_aspect } |
Functions | |
point * | putRects (int ng, boxf *bbs, pack_info *pinfo) |
int | packRects (int ng, boxf *bbs, pack_info *pinfo) |
point * | putGraphs (int, Agraph_t **, Agraph_t *, pack_info *) |
int | packGraphs (int, Agraph_t **, Agraph_t *, pack_info *) |
int | packSubgraphs (int, Agraph_t **, Agraph_t *, pack_info *) |
int | pack_graph (int ng, Agraph_t **gs, Agraph_t *root, boolean *fixed) |
int | shiftGraphs (int, Agraph_t **, point *, Agraph_t *, int) |
pack_mode | getPackMode (Agraph_t *g, pack_mode dflt) |
int | getPack (Agraph_t *, int not_def, int dflt) |
pack_mode | getPackInfo (Agraph_t *g, pack_mode dflt, int dfltMargin, pack_info *) |
pack_mode | getPackModeInfo (Agraph_t *g, pack_mode dflt, pack_info *) |
pack_mode | parsePackModeInfo (char *p, pack_mode dflt, pack_info *pinfo) |
int | isConnected (Agraph_t *) |
Agraph_t ** | ccomps (Agraph_t *, int *, char *) |
Agraph_t ** | cccomps (Agraph_t *, int *, char *) |
Agraph_t ** | pccomps (Agraph_t *, int *, char *, boolean *) |
int | nodeInduce (Agraph_t *) |
Agraph_t * | mapClust (Agraph_t *) |
#define PK_USER_VALS (1 << 1) |
Definition at line 40 of file pack.h.
Referenced by putGraphs().
enum pack_mode |
Definition at line 608 of file ccomps.c.
References agbindrec(), agclean(), agclose(), agdelete(), agfstnode(), aginit(), agnameof(), agnedges(), agnnodes(), AGNODE, agnxtnode(), AGRAPH, agsubg(), FALSE, GD_cc_subg, GRECNAME, INITBUF, MARKED, N_GNEW, nodeInduce(), NRECNAME, RALLOC, SMALLBUF, and Verbose.
Definition at line 288 of file ccomps.c.
References agbindrec(), agfstnode(), agnnodes(), agnxtnode(), agsubg(), INITBUF, MARKED, N_GNEW, NULL, RALLOC, SMALLBUF, TRUE, and UNMARK.
Referenced by circomps(), main(), sfdp_layout(), and twopi_layout().
Definition at line 1381 of file pack.c.
References agget().
Referenced by compoundEdges(), getPackInfo(), and neato_layout().
Definition at line 1398 of file pack.c.
References assert, pack_info::doSplines, pack_info::fixed, getPack(), getPackModeInfo(), pack_info::margin, pack_info::mode, and Verbose.
Referenced by circoLayout(), pack_graph(), sfdp_layout(), and twopi_layout().
Definition at line 1370 of file pack.c.
References getPackModeInfo().
Definition at line 1364 of file pack.c.
References agget(), and parsePackModeInfo().
Referenced by getPackInfo(), getPackMode(), and neato_layout().
Definition at line 682 of file ccomps.c.
References agfstnode(), agnnodes(), agnxtnode(), INITBUF, NULL, and UNMARK.
Referenced by main().
Definition at line 526 of file ccomps.c.
References aggetrec(), assert, orig_t::orig, and ORIG_REC.
Definition at line 718 of file ccomps.c.
References node_induce(), and Agraph_s::root.
Referenced by cccomps(), findCComp(), neato_layout(), sfdp_layout(), and twopi_layout().
Definition at line 1190 of file pack.c.
References CL_OFFSET, pack_info::doSplines, dotneato_postprocess(), pack_info::fixed, getPackInfo(), l_graph, and packSubgraphs().
Definition at line 1145 of file pack.c.
References pack_info::doSplines, putGraphs(), and shiftGraphs().
Referenced by main(), neato_layout(), and packSubgraphs().
Definition at line 982 of file pack.c.
References boxf::LL, putRects(), boxf::UR, point::x, pointf_s::x, point::y, and pointf_s::y.
Definition at line 1163 of file pack.c.
References compute_bb(), EXPANDBB, GD_bb, GD_clust, GD_n_cluster, and packGraphs().
Referenced by circoLayout(), pack_graph(), sfdp_layout(), and twopi_layout().
Definition at line 1287 of file pack.c.
References ARRAY, pack_info::aspect, ASPECT, assert, pack_info::flags, l_array, l_aspect, l_clust, l_graph, l_node, pack_info::mode, NULL, SLEN, streq, strneq, pack_info::sz, pack_info::vals, and Verbose.
Referenced by getPackModeInfo().
Definition at line 196 of file ccomps.c.
References agbindrec(), agclose(), agfstnode(), agnnodes(), agnxtnode(), agsubg(), FALSE, INITBUF, isPinned, MARKED, N_GNEW, NULL, RALLOC, SMALLBUF, TRUE, and UNMARK.
Referenced by neato_layout().
Definition at line 916 of file pack.c.
References agget(), compute_bb(), pack_info::flags, GD_bb, l_array, l_graph, pack_info::mode, N_GNEW, N_NEW, NULL, PK_USER_VALS, and pack_info::vals.
Referenced by packGraphs().
Definition at line 959 of file pack.c.
References l_array, l_clust, l_graph, l_node, pack_info::mode, and NULL.
Referenced by packRects().
Definition at line 1088 of file pack.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), MOVEPT, ND_coord, ND_pos, ND_xlabel, PS2INCH, point::x, and point::y.
Referenced by packGraphs().