r3/include/r3_gvc.h

24 lines
586 B
C
Raw Permalink Normal View History

2014-06-03 09:47:52 -04:00
/*
* r3_gvc.h
2014-06-27 01:24:40 -04:00
* Copyright (C) 2014 c9s <yoanlin93@gmail.com>
2014-06-03 09:47:52 -04:00
*
* Distributed under terms of the MIT license.
*/
#ifndef R3_GVC_H
#define R3_GVC_H
#include <stdio.h>
#include <gvc.h>
#include "r3.h"
2014-06-27 12:53:04 -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 09:47:52 -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);
int r3_tree_render_file(const node * tree, const char * format, const char * filename);
#endif /* !R3_GVC_H */