Graphviz  2.41.20171026.1811
Macros | Functions
gvc.h File Reference
#include "types.h"
#include "gvplugin.h"
Include dependency graph for gvc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define extern
 
#define LAYOUT_DONE(g)   (agbindrec(g, "Agraphinfo_t", 0, TRUE) && GD_drawing(g))
 

Functions

void gvToggle (int)
 
GVC_tgvNEWcontext (const lt_symlist_t *builtins, int demand_loading)
 
GVC_tgvContext (void)
 
GVC_tgvContextPlugins (const lt_symlist_t *builtins, int demand_loading)
 
char ** gvcInfo (GVC_t *)
 
char * gvcVersion (GVC_t *)
 
char * gvcBuildDate (GVC_t *)
 
int gvParseArgs (GVC_t *gvc, int argc, char **argv)
 
graph_tgvNextInputGraph (GVC_t *gvc)
 
graph_tgvPluginsGraph (GVC_t *gvc)
 
int gvLayout (GVC_t *gvc, graph_t *g, const char *engine)
 
int gvLayoutJobs (GVC_t *gvc, graph_t *g)
 
void attach_attrs (graph_t *g)
 
int gvRender (GVC_t *gvc, graph_t *g, const char *format, FILE *out)
 
int gvRenderFilename (GVC_t *gvc, graph_t *g, const char *format, const char *filename)
 
int gvRenderContext (GVC_t *gvc, graph_t *g, const char *format, void *context)
 
int gvRenderData (GVC_t *gvc, graph_t *g, const char *format, char **result, unsigned int *length)
 
void gvFreeRenderData (char *data)
 
int gvRenderJobs (GVC_t *gvc, graph_t *g)
 
int gvFreeLayout (GVC_t *gvc, graph_t *g)
 
void gvFinalize (GVC_t *gvc)
 
int gvFreeContext (GVC_t *gvc)
 
char ** gvPluginList (GVC_t *gvc, const char *kind, int *sz, char *)
 
void gvAddLibrary (GVC_t *gvc, gvplugin_library_t *lib)
 
int gvToolTred (graph_t *g)
 

Macro Definition Documentation

#define extern

Definition at line 27 of file gvc.h.

#define LAYOUT_DONE (   g)    (agbindrec(g, "Agraphinfo_t", 0, TRUE) && GD_drawing(g))

Definition at line 39 of file gvc.h.

Referenced by gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and gvRenderJobs().

Function Documentation

void attach_attrs ( graph_t g)

Definition at line 399 of file output.c.

References attach_attrs_and_arrows().

Referenced by main(), and render().

void gvAddLibrary ( GVC_t gvc,
gvplugin_library_t lib 
)

Add a library from your user application

Parameters
gvcGraphviz context to add library to
liblibrary to add

Definition at line 237 of file gvc.c.

References gvconfig_plugin_install_from_library(), and NULL.

char* gvcBuildDate ( GVC_t )

Definition at line 244 of file gvc.c.

References GVC_s::common, and GVCOMMON_s::info.

char** gvcInfo ( GVC_t )

Definition at line 242 of file gvc.c.

References GVC_s::common, and GVCOMMON_s::info.

GVC_t* gvContext ( void  )

Definition at line 25 of file gvc.c.

References agattr(), AGNODE, FALSE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, NULL, and TRUE.

GVC_t* gvContextPlugins ( const lt_symlist_t builtins,
int  demand_loading 
)

Definition at line 36 of file gvc.c.

References agattr(), AGNODE, FALSE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, and NULL.

Referenced by main(), and Tcldot_Init().

char* gvcVersion ( GVC_t )

Definition at line 243 of file gvc.c.

References GVC_s::common, and GVCOMMON_s::info.

void gvFinalize ( GVC_t gvc)

Definition at line 65 of file gvcontext.c.

References GVC_s::active_jobs, and gvrender_end_job().

Referenced by main().

int gvFreeContext ( GVC_t gvc)
int gvFreeLayout ( GVC_t gvc,
graph_t g 
)

Definition at line 102 of file gvlayout.c.

Referenced by layout(), main(), and tcldot_layout().

void gvFreeRenderData ( char *  data)

Definition at line 232 of file gvc.c.

int gvLayout ( GVC_t gvc,
graph_t g,
const char *  engine 
)

Definition at line 53 of file gvc.c.

int gvLayoutJobs ( GVC_t gvc,
graph_t g 
)

Definition at line 55 of file gvlayout.c.

Referenced by gvLayout(), main(), and tcldot_layout().

GVC_t* gvNEWcontext ( const lt_symlist_t builtins,
int  demand_loading 
)
graph_t* gvNextInputGraph ( GVC_t gvc)
int gvParseArgs ( GVC_t gvc,
int  argc,
char **  argv 
)

Definition at line 272 of file args.c.

References dotneato_args_initialize(), gvplugin_write_status(), and Verbose.

Referenced by main().

char** gvPluginList ( GVC_t gvc,
const char *  kind,
int sz,
char *   
)
graph_t* gvPluginsGraph ( GVC_t gvc)

Definition at line 213 of file input.c.

Referenced by main().

int gvRender ( GVC_t gvc,
graph_t g,
const char *  format,
FILE *  out 
)
int gvRenderContext ( GVC_t gvc,
graph_t g,
const char *  format,
void *  context 
)
int gvRenderData ( GVC_t gvc,
graph_t g,
const char *  format,
char **  result,
unsigned int length 
)
int gvRenderFilename ( GVC_t gvc,
graph_t g,
const char *  format,
const char *  filename 
)

Definition at line 117 of file gvc.c.

int gvRenderJobs ( GVC_t gvc,
graph_t g 
)
void gvToggle ( int  )

Definition at line 610 of file utils.c.

References gvToggle().

Referenced by gvToggle(), and main().

int gvToolTred ( graph_t g)

Perform a Transitive Reduction on a graph

Parameters
ggraph to be transformed.

Definition at line 73 of file gvtool_tred.c.

References agclean(), agfstnode(), aginit(), agisdirected(), agnameof(), AGNODE, agnxtnode(), NULL, and TRUE.

Referenced by tred().