GdaGraphviz

GdaGraphviz — Creates .dot files which can then be processed with GraphViz.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GdaObject
        ╰── GdaGraphviz

Description

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/).

Functions

gda_graphviz_new ()

GObject *
gda_graphviz_new (GdaDict *dict);

Creates a new GdaGraphviz object

Parameters

dict

a GdaDict object

 

Returns

the new object


gda_graphviz_add_to_graph ()

void
gda_graphviz_add_to_graph (GdaGraphviz *graph,
                           GObject *obj);

Adds obj to be graphed by graph

Parameters

graph

a GdaGraphviz object

 

obj

a GObject object to be graphed

 

gda_graphviz_save_file ()

gboolean
gda_graphviz_save_file (GdaGraphviz *graph,
                        const gchar *filename,
                        GError **error);

Saves a dot representation of the graph object to filename

Parameters

graph

a GdaGraphviz object

 

Returns

TRUE if no error occurred

Types and Values

struct GdaGraphviz

struct GdaGraphviz;


struct GdaGraphvizClass

struct GdaGraphvizClass {
	GdaObjectClass              parent_class;
};


GdaGraphvizPrivate

typedef struct _GdaGraphvizPrivate GdaGraphvizPrivate;