15#include <graphviz/gvc.h>
19int main(
int argc,
char **argv) {
25 fp = fopen(argv[1],
"r");
int agclose(Agraph_t *g)
deletes a graph, freeing its associated storage
Agraph_t * agread(void *chan, Agdisc_t *disc)
constructs a new graph
int gvFreeLayout(GVC_t *gvc, graph_t *g)
int gvLayout(GVC_t *gvc, graph_t *g, const char *engine)
int gvRender(GVC_t *gvc, graph_t *g, const char *format, FILE *out)
int gvFreeContext(GVC_t *gvc)