Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches

Graphviz context library. More...

#include <stdbool.h>
#include <stddef.h>
#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 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)
 
bool gvLayoutDone (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, size_t *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)
 
void gvAddLibrary (GVC_t *gvc, gvplugin_library_t *lib)
 
int gvToolTred (graph_t *g)
 

Detailed Description

libgvc provides a context for applications wishing to manipulate and render graphs. It provides command line parsing, common rendering code, and a plugin mechanism for renderers.

man 3 gvc

Definition in file gvc.h.