59 agerrorf(
"Layout type: \"%s\" not recognized. Use one of:%s\n",
71 snprintf(buf,
sizeof(buf),
"%.0f %.0f %.0f %.0f",
75 snprintf(buf,
sizeof(buf),
"%.0f %.0f %.0f %.0f",
93 agerrorf(
"Format: \"%s\" not recognized. Use one of:%s\n",
123 agerrorf(
"Format: \"%s\" not recognized. Use one of:%s\n",
152 agerrorf(
"Format: \"%s\" not recognized. Use one of:%s\n",
184 agerrorf(
"Format: \"%s\" not recognized. Use one of:%s\n",
196#define OUTPUT_DATA_INITIAL_ALLOCATION 4096
199 agerrorf(
"failure malloc'ing for result string");
static void out(agerrlevel_t level, const char *fmt, va_list args)
Report messages using a user-supplied or default write function.
Agsym_t * agattr(Agraph_t *g, int kind, char *name, const char *value)
creates or looks up attributes of a graph
int agsafeset(void *obj, char *name, const char *value, const char *def)
ensures the given attribute is declared before setting it locally on an object
void agerrorf(const char *fmt,...)
void gvAddLibrary(GVC_t *gvc, gvplugin_library_t *lib)
GVC_t * gvNEWcontext(const lt_symlist_t *builtins, int demand_loading)
char * gvcBuildDate(GVC_t *gvc)
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 gvRenderJobs(GVC_t *gvc, graph_t *g)
int gvRenderData(GVC_t *gvc, graph_t *g, const char *format, char **result, size_t *length)
int gvLayoutJobs(GVC_t *gvc, graph_t *g)
GVC_t * gvContextPlugins(const lt_symlist_t *builtins, int demand_loading)
char ** gvcInfo(GVC_t *gvc)
char * gvcVersion(GVC_t *gvc)
void gvFreeRenderData(char *data)
int gvRenderContext(GVC_t *gvc, graph_t *g, const char *format, void *context)
int gvRenderFilename(GVC_t *gvc, graph_t *g, const char *format, const char *filename)
#define OUTPUT_DATA_INITIAL_ALLOCATION
Graphviz context library.
#define OUTPUT_NOT_REQUIRED
#define LAYOUT_NOT_REQUIRED
void gvconfig(GVC_t *gvc, bool rescan)
void gvconfig_plugin_install_from_library(GVC_t *gvc, char *package_path, gvplugin_library_t *library)
void gvrender_end_job(GVJ_t *job)
void gvjobs_output_filename(GVC_t *gvc, const char *name)
void gvdevice_finalize(GVJ_t *job)
bool gvjobs_output_langname(GVC_t *gvc, const char *name)
int gvlayout_select(GVC_t *gvc, const char *str)
void gvjobs_delete(GVC_t *gvc)
int gvrender_select(GVJ_t *job, const char *lang)
char * gvplugin_list(GVC_t *gvc, api_t api, const char *str)
GVIO_API const char * format
static gvloadimage_engine_t engine
size_t output_data_allocated
size_t output_data_position
const char * output_langname