123 ccs =
ccomps(dg, &c_cnt, 0);
126 for (
size_t i = 0; i < c_cnt; i++) {
207 for (
size_t i = 0; i < ncc; i++) {
217 for (
size_t i = 0; i < ncc; i++)
int adjustNodes(graph_t *G)
Memory allocation wrappers that exit on failure.
static void * gv_calloc(size_t nmemb, size_t size)
static void * gv_alloc(size_t size)
void circularLayout(Agraph_t *g, Agraph_t *realg, int *blockCount)
static node_t * makeDerivedNode(graph_t *dg, char *name, int isNode, void *orig)
static void closeDerivedGraph(graph_t *g)
static void circular_init_node_edge(graph_t *g)
void circoLayout(Agraph_t *g)
static void copyPosns(graph_t *g)
void circo_init_graph(graph_t *g)
void circo_layout(Agraph_t *g)
static Agraph_t ** circomps(Agraph_t *g, size_t *cnt)
void circo_cleanup(graph_t *g)
ND_alg is freed in circo_layout.
static void circular_init_edge(edge_t *e)
void setEdgeType(graph_t *g, int defaultValue)
double late_double(void *obj, attrsym_t *attr, double defaultValue, double minimum)
void common_init_edge(edge_t *e)
static int cnt(Dict_t *d, Dtlink_t **set)
int agnnodes(Agraph_t *g)
Agedge_t * agedge(Agraph_t *g, Agnode_t *t, Agnode_t *h, char *name, int createflag)
Agedge_t * agsubedge(Agraph_t *g, Agedge_t *e, int createflag)
Agedge_t * agfstout(Agraph_t *g, Agnode_t *n)
Agedge_t * agnxtout(Agraph_t *g, Agedge_t *e)
Agdesc_t Agstrictundirected
strict undirected
int agclose(Agraph_t *g)
deletes a graph, freeing its associated storage
Agraph_t * agopen(char *name, Agdesc_t desc, Agdisc_t *disc)
creates a new graph with the given name and kind
#define GD_neato_nlist(g)
Agnode_t * agnode(Agraph_t *g, char *name, int createflag)
Agnode_t * agnxtnode(Agraph_t *g, Agnode_t *n)
Agnode_t * agfstnode(Agraph_t *g)
char * agnameof(void *)
returns a string descriptor for the object.
Agraph_t * agroot(void *obj)
void * agbindrec(void *obj, const char *name, unsigned int recsize, int move_to_front)
attaches a new record of the given size to the object
Agraph_t ** ccomps(Agraph_t *g, size_t *ncc, char *pfx)
void neato_init_node(node_t *n)
NEATOPROCS_API void spline_edges(Agraph_t *)
int packSubgraphs(size_t ng, Agraph_t **gs, Agraph_t *root, pack_info *info)
pack_mode getPackInfo(Agraph_t *g, pack_mode dflt, int dfltMargin, pack_info *pinfo)
support for connected components
void dotneato_postprocess(Agraph_t *g)
void gv_cleanup_edge(Agedge_t *e)
void gv_cleanup_node(Agnode_t *n)
Agraph_t * root
subgraphs - ancestors