diff options
Diffstat (limited to 'src/lib/eina_graph.h')
-rw-r--r-- | src/lib/eina_graph.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/eina_graph.h b/src/lib/eina_graph.h index c748ede..3297a22 100644 --- a/src/lib/eina_graph.h +++ b/src/lib/eina_graph.h @@ -29,6 +29,7 @@ #ifndef _EINA_GRAPH_H #define _EINA_GRAPH_H +#include <stdio.h> #include <eina_types.h> /** @@ -130,4 +131,13 @@ eina_graph_self_loops(const Eina_Graph *g); EAPI Eina_Bool eina_graph_edge_add(Eina_Graph *g, unsigned int v, unsigned int w); +/** + * generate dot file from the graph. + * + * @param g the graph to add to edje to. + * @param f the output stream to write to. + */ +EAPI void +eina_graph_dot_write(Eina_Graph *g, FILE *f); + #endif /* _EINA_GRAPH_H */ |