Graphviz  2.41.20171026.1811
Macros | Functions
gvc.c File Reference
#include "config.h"
#include "gvc.h"
#include "const.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#include "gvconfig.h"
#include "gvio.h"
#include <stdlib.h>
Include dependency graph for gvc.c:

Go to the source code of this file.

Macros

#define OUTPUT_DATA_INITIAL_ALLOCATION   4096
 

Functions

GVC_tgvContext (void)
 
GVC_tgvContextPlugins (const lt_symlist_t *builtins, int demand_loading)
 
int gvLayout (GVC_t *gvc, graph_t *g, const char *engine)
 
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)
 
void gvAddLibrary (GVC_t *gvc, gvplugin_library_t *lib)
 
char ** gvcInfo (GVC_t *gvc)
 
char * gvcVersion (GVC_t *gvc)
 
char * gvcBuildDate (GVC_t *gvc)
 

Macro Definition Documentation

#define OUTPUT_DATA_INITIAL_ALLOCATION   4096

Referenced by gvRenderData().

Function Documentation

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 gvc)

Definition at line 244 of file gvc.c.

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

char** gvcInfo ( GVC_t gvc)

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 gvc)

Definition at line 243 of file gvc.c.

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

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.

References agerr(), AGERR, agsafeset(), GD_bb, GD_drawing, gvlayout_select(), gvLayoutJobs(), gvplugin_list(), NO_SUPPORT, and ROUND.

Referenced by layout().

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 
)