r3/include/r3_gvc.h

22 lines
564 B
C
Raw Normal View History

2014-05-18 08:11:07 -04:00
/*
* r3_gvc.h
* Copyright (C) 2014 c9s <c9s@c9smba.local>
*
* Distributed under terms of the MIT license.
*/
#ifndef R3_GVC_H
#define R3_GVC_H
#include <stdio.h>
2014-05-18 08:11:07 -04:00
#include <gvc.h>
2014-06-01 02:53:12 -04:00
void r3_tree_build_ag_nodes(Agraph_t * g, Agnode_t * ag_parent_node, const node * n, int node_cnt);
2014-06-03 06:41:55 -04:00
int r3_tree_render(const node * tree, const char *layout, const char * format, FILE *fp);
int r3_tree_render_dot(const node * tree, const char *layout, FILE *fp);
2014-06-01 02:53:12 -04:00
int r3_tree_render_file(const node * tree, const char * format, const char * filename);
2014-05-18 08:11:07 -04:00
#endif /* !R3_GVC_H */