Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | blk_t |
struct | stk_t |
struct | ccgraphinfo_t |
struct | ccgnodeinfo_t |
struct | orig_t |
Macros | |
#define | MARKED(stk, n) ((stk)->markfn(n,-1)) |
#define | MARK(stk, n) ((stk)->markfn(n,1)) |
#define | UNMARK(stk, n) ((stk)->markfn(n,0)) |
#define | INITBUF 1024 |
#define | BIGBUF 1000000 |
#define | GRECNAME "ccgraphinfo" |
#define | NRECNAME "ccgnodeinfo" |
#define | GD_cc_subg(g) (((ccgraphinfo_t*)aggetrec(g, GRECNAME, FALSE))->cc_subg) |
#define | dnodeOf(v) (((ccgnodeinfo_t*)aggetrec(v, NRECNAME, FALSE))->ptr.n) |
#define | dnodeSet(v, w) (((ccgnodeinfo_t*)aggetrec(v, NRECNAME, FALSE))->ptr.n=w) |
#define | ptrOf(np) (((ccgnodeinfo_t*)((np)->base.data))->ptr.v) |
#define | nodeOf(np) (((ccgnodeinfo_t*)((np)->base.data))->ptr.n) |
#define | clustOf(np) (((ccgnodeinfo_t*)((np)->base.data))->ptr.g) |
#define | clMark(n) (((ccgnodeinfo_t*)(n->base.data))->mark) |
#define | isCluster(g) (strncmp(agnameof(g), "cluster", 7) == 0) |
#define | ORIG_REC "orig" |
Typedefs | |
typedef struct blk_t | blk_t |
Functions | |
Agraph_t ** | pccomps (Agraph_t *g, int *ncc, char *pfx, boolean *pinned) |
Agraph_t ** | ccomps (Agraph_t *g, int *ncc, char *pfx) |
int | node_induce (Agraph_t *g, Agraph_t *eg) |
Agraph_t * | mapClust (Agraph_t *cl) |
Agraph_t ** | cccomps (Agraph_t *g, int *ncc, char *pfx) |
int | isConnected (Agraph_t *g) |
int | nodeInduce (Agraph_t *g) |
#define clMark | ( | n | ) | (((ccgnodeinfo_t*)(n->base.data))->mark) |
#define clustOf | ( | np | ) | (((ccgnodeinfo_t*)((np)->base.data))->ptr.g) |
#define dnodeOf | ( | v | ) | (((ccgnodeinfo_t*)aggetrec(v, NRECNAME, FALSE))->ptr.n) |
#define dnodeSet | ( | v, | |
w | |||
) | (((ccgnodeinfo_t*)aggetrec(v, NRECNAME, FALSE))->ptr.n=w) |
#define GD_cc_subg | ( | g | ) | (((ccgraphinfo_t*)aggetrec(g, GRECNAME, FALSE))->cc_subg) |
#define INITBUF 1024 |
#define isCluster | ( | g | ) | (strncmp(agnameof(g), "cluster", 7) == 0) |
#define MARKED | ( | stk, | |
n | |||
) | ((stk)->markfn(n,-1)) |
#define nodeOf | ( | np | ) | (((ccgnodeinfo_t*)((np)->base.data))->ptr.n) |
#define ORIG_REC "orig" |
Definition at line 523 of file ccomps.c.
Referenced by mapClust().
#define ptrOf | ( | np | ) | (((ccgnodeinfo_t*)((np)->base.data))->ptr.v) |
#define UNMARK | ( | stk, | |
n | |||
) | ((stk)->markfn(n,0)) |
Definition at line 24 of file ccomps.c.
Referenced by ccomps(), isConnected(), and pccomps().
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 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 500 of file ccomps.c.
References agfstnode(), agfstout(), aghead(), agnxtnode(), agnxtout(), agsubedge(), and agsubnode().
Referenced by nodeInduce().
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 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().