48 snprintf(buf,
sizeof(buf),
"%d", newlen);
71 if (
opts->ChainLimit < 1)
74 e =
agedge(g, ChainNode, n,
"", 1);
77 if (ChainSize < opts->ChainLimit)
86 if (
opts->MaxMinlen < 1)
static int cnt(Dict_t *d, Dtlink_t **set)
int agdegree(Agraph_t *g, Agnode_t *n, int in, int out)
void graphviz_unflatten(Agraph_t *g, const graphviz_unflatten_options_t *opts)
Agsym_t * agattr(Agraph_t *g, int kind, char *name, const char *value)
creates or looks up attributes of a graph
int agxset(void *obj, Agsym_t *sym, const char *value)
char * agxget(void *obj, Agsym_t *sym)
Agedge_t * agedge(Agraph_t *g, Agnode_t *t, Agnode_t *h, char *name, int createflag)
Agedge_t * agnxtin(Agraph_t *g, Agedge_t *e)
Agedge_t * agfstout(Agraph_t *g, Agnode_t *n)
Agedge_t * agnxtout(Agraph_t *g, Agedge_t *e)
Agedge_t * agfstin(Agraph_t *g, Agnode_t *n)
Agnode_t * agnxtnode(Agraph_t *g, Agnode_t *n)
Agnode_t * agfstnode(Agraph_t *g)
textitem scanner parser str
static void adjustlen(Agedge_t *e, Agsym_t *sym, int newlen)
static bool isleaf(Agnode_t *n)
static bool ischainnode(Agnode_t *n)
static Agsym_t * bindedgeattr(Agraph_t *g, char *str)
static int myindegree(Agnode_t *n)
static int myoutdegree(Agnode_t *n)
options for passing to graphviz_unflatten