15 #include <graphviz/cgraph.h>
23 fprintf(stderr,
"%s initialized with label %s\n",
agnameof(n),
28 static Agcbdisc_t mydisc = { {0, 0, 0}, {my_ins, 0, 0}, {0, 0, 0} };
30 main(
int argc,
char **argv)
36 dostat = atoi(argv[1]);
44 fprintf(stderr,
"ready to go, computer fans\n");
CGRAPH_API Agraph_t * agopen(char *name, Agdesc_t desc, Agdisc_t *disc)
CGRAPH_API void agpushdisc(Agraph_t *g, Agcbdisc_t *disc, void *state)
CGRAPH_API int agcallbacks(Agraph_t *g, int flag)
char * agget(void *obj, char *name)
CGRAPH_API Agdesc_t Agdirected
CGRAPH_API int agclose(Agraph_t *g)
CGRAPH_API char * agnameof(void *)
int main(int argc, char **argv)