29 char *rootname =
agget(rootg,
"root");
100 fprintf(stderr,
"%s\n",
agnameof(g));
102 fprintf(stderr,
"%s (%p)\n",
agnameof(n), n);
129 fprintf(stderr,
"%s: %x %s %s ",
agnameof(n),
FLAGS(n), pname, bname);
132 fprintf(stderr,
"%d %d\n",
VAL(n),
LOWVAL(n));
149 fprintf(stderr,
"%s %s %d %s %d\n", tname, name1, dist1, name2,
153 fprintf(stderr,
"%d\n",
POSITION(n));
static void agxbfree(agxbuf *xb)
free any malloced resources
static int agxbprint(agxbuf *xb, const char *fmt,...)
Printf-style output to an agxbuf.
static WUR char * agxbuse(agxbuf *xb)
static Agraph_t * mkBlock(Agraph_t *g, bcstate *stp)
void initBlocklist(blocklist_t *bl)
block_t * createBlocktree(Agraph_t *g, circ_state *state)
void freeBlocktree(block_t *bp)
void circPos(Agraph_t *g, block_t *sn, circ_state *state)
static block_t * createOneBlock(Agraph_t *g, circ_state *state)
void circularLayout(Agraph_t *g, Agraph_t *realg, int *blockCount)
static void initGraphAttrs(Agraph_t *g, circ_state *state)
bool mapbool(const char *p)
double late_double(void *obj, attrsym_t *attr, double defaultValue, double minimum)
int agnnodes(Agraph_t *g)
Agsym_t * agattr(Agraph_t *g, int kind, char *name, const char *value)
creates or looks up attributes of a graph
char * agget(void *obj, char *name)
Agedge_t * agfstout(Agraph_t *g, Agnode_t *n)
Agedge_t * agnxtout(Agraph_t *g, Agedge_t *e)
Agnode_t * agnxtnode(Agraph_t *g, Agnode_t *n)
Agnode_t * agfstnode(Agraph_t *g)
Agnode_t * agsubnode(Agraph_t *g, Agnode_t *n, int createflag)
Agraph_t * agraphof(void *obj)
char * agnameof(void *)
returns a string descriptor for the object.
Agraph_t * agsubg(Agraph_t *g, char *name, int cflag)
PATHUTIL_API COORD dist2(Ppoint_t, Ppoint_t)