| Libgnomedb Reference Manual |
|---|
GnomeDbGraphvizGnomeDbGraphviz — Creates .dot files which can then be processed with GraphViz. |
GnomeDbGraphviz;
guint gnome_db_graphviz_get_type (void);
GObject* gnome_db_graphviz_new (GnomeDbDict *dict);
void gnome_db_graphviz_add_to_graph (GnomeDbGraphviz *graph,
GObject *obj);
gboolean gnome_db_graphviz_save_file (GnomeDbGraphviz *graph,
const gchar *filename,
GError **error);
An object os this class will be able to produce .dot files representing a graphical view of one or more query internals. The .dot file can be processed with the GraphViz tool (http://www.graphviz.org/).
GObject* gnome_db_graphviz_new (GnomeDbDict *dict);
Creates a new GnomeDbGraphviz object
| dict : | a GnomeDbDict object |
| Returns : | the new object |
void gnome_db_graphviz_add_to_graph (GnomeDbGraphviz *graph, GObject *obj);
Adds obj to be graphed by graph
| graph : | a GnomeDbGraphviz object |
| obj : | a GObject object to be graphed |
gboolean gnome_db_graphviz_save_file (GnomeDbGraphviz *graph, const gchar *filename, GError **error);
Saves a dot representation of the graph object to filename
| graph : | a GnomeDbGraphviz object |
| filename : | |
| error : | |
| Returns : | TRUE if no error occurred |
| << GnomeDbCustomLayout | GnomeDbWrapperField >> |