Graphviz 13.0.0~dev.20241212.1010
|
Files | |
file | gvc.h |
Graphviz context library. | |
file | gvcext.h |
file | gvcjob.h |
file | gvcommon.h |
file | gvconfig.h |
Macros | |
#define | LAYOUT_DONE(g) (agbindrec(g, "Agraphinfo_t", 0, true) && GD_drawing(g)) |
#define LAYOUT_DONE | ( | g | ) | (agbindrec(g, "Agraphinfo_t", 0, true) && GD_drawing(g)) |
void attach_attrs | ( | graph_t * | g | ) |
Definition at line 394 of file output.c.
References attach_attrs_and_arrows(), and NULL.
Referenced by dot_begin_graph(), json_begin_graph(), main(), and render().
void gvAddLibrary | ( | GVC_t * | gvc, |
gvplugin_library_t * | lib | ||
) |
Add a library from your user application
gvc | Graphviz context to add library to |
lib | library to add |
Definition at line 228 of file gvc.c.
References gvc, gvconfig_plugin_install_from_library(), and NULL.
char * gvcBuildDate | ( | GVC_t * | gvc | ) |
Definition at line 235 of file gvc.c.
References GVC_s::common, gvc, and GVCOMMON_s::info.
char ** gvcInfo | ( | GVC_t * | gvc | ) |
Definition at line 233 of file gvc.c.
References GVC_s::common, gvc, and GVCOMMON_s::info.
GVC_t * gvContext | ( | void | ) |
Definition at line 24 of file gvc.c.
References agattr(), AGNODE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, and NULL.
Referenced by CFrmSettings::CFrmSettings(), main(), main(), and main().
GVC_t * gvContextPlugins | ( | const lt_symlist_t * | builtins, |
int | demand_loading | ||
) |
Definition at line 35 of file gvc.c.
References agattr(), AGNODE, gvc, gvconfig(), gvNEWcontext(), NODENAME_ESC, and NULL.
Referenced by gv_init(), main(), main(), and Tcldot_Init().
char * gvcVersion | ( | GVC_t * | gvc | ) |
Definition at line 234 of file gvc.c.
References GVC_s::common, gvc, and GVCOMMON_s::info.
void gvFinalize | ( | GVC_t * | gvc | ) |
Definition at line 57 of file gvcontext.c.
References GVC_s::active_jobs, gvc, and gvrender_end_job().
Referenced by main().
int gvFreeContext | ( | GVC_t * | gvc | ) |
Definition at line 64 of file gvcontext.c.
References agerrors(), GVC_s::apis, GVC_s::config_path, emit_once_reset(), free(), graphviz_errors, gvc, GVC_s::gvgs, gvjobs_delete(), GVC_s::input_filenames, gvplugin_package_s::name, gvplugin_package_s::next, gvplugin_available_s::next, GVG_s::next, NULL, GVC_s::packages, gvplugin_package_s::path, textfont_dict_close(), and gvplugin_available_s::typestr.
Referenced by main(), and main().
Definition at line 105 of file gvlayout.c.
References agbindrec(), GD_cleanup, graph_cleanup(), gvc, and NULL.
Referenced by layout(), main(), main(), main(), and tcldot_layout().
void gvFreeRenderData | ( | char * | data | ) |
bool gvLayoutDone | ( | graph_t * | g | ) |
Definition at line 94 of file gvlayout.c.
References LAYOUT_DONE.
Definition at line 53 of file gvlayout.c.
References agbindrec(), agerrorf(), agget(), agroot(), gvlayout_engine_s::cleanup, gvplugin_active_layout_s::engine, gvplugin_active_layout_s::features, gvlayout_features_t::flags, GD_cleanup, GD_drawing, GD_gvc, graph_init(), gv_fixLocale(), gvc, gvlayout_select(), gvplugin_list(), GVC_s::layout, gvlayout_engine_s::layout, LAYOUT_USES_RANKDIR, NO_SUPPORT, and NULL.
Referenced by gvLayout(), and main().
GVC_t * gvNEWcontext | ( | const lt_symlist_t * | builtins, |
int | demand_loading | ||
) |
Definition at line 45 of file gvcontext.c.
References agerrorf(), GVCOMMON_s::builtins, GVC_s::common, GVCOMMON_s::demand_loading, GVCOMMON_s::errorfn, gv_alloc(), gvc, GVCOMMON_s::info, and LibInfo.
Referenced by gvContext(), and gvContextPlugins().
Definition at line 501 of file input.c.
References agerrorf(), agread(), agsetfile(), GVCOMMON_s::cmdname, GVC_s::common, GVC_s::fidx, graphviz_errors, gv_fopen(), gvc, gvg_init(), GVC_s::input_filenames, and NULL.
Referenced by main().
int gvParseArgs | ( | GVC_t * | gvc, |
int | argc, | ||
char ** | argv | ||
) |
Definition at line 220 of file args.c.
References config_extra_args(), dotneato_args_initialize(), fdp_extra_args(), gvc, gvplugin_write_status(), neato_extra_args(), and Verbose.
Referenced by main().
char ** gvPluginList | ( | GVC_t * | gvc, |
const char * | kind, | ||
int * | sz | ||
) |
Definition at line 427 of file gvplugin.c.
References agerrorf(), api_names, GVC_s::apis, ARRAY_SIZE, strview_t::data, gvc, gvplugin_available_s::next, NULL, strview(), strview_case_eq(), strview_str(), and gvplugin_available_s::typestr.
Referenced by LoadPlugins().
Definition at line 84 of file gvc.c.
References agerrorf(), GVJ_s::flags, format, gvc, gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, NULL, out(), GVJ_s::output_file, GVJ_s::output_lang, GVJ_s::output_langname, and OUTPUT_NOT_REQUIRED.
Referenced by graphcmd_internal(), json_begin_graph(), main(), main(), main(), render(), render(), renderchannel(), renderresult(), and renderresult().
Definition at line 143 of file gvc.c.
References agerrorf(), GVJ_s::context, GVJ_s::external_context, GVJ_s::flags, format, gvc, gvdevice_finalize(), gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, GVJ_s::output_lang, and GVJ_s::output_langname.
Referenced by graphcmd_internal().
Definition at line 175 of file gvc.c.
References agerrorf(), GVJ_s::flags, format, gvc, gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), GVC_s::job, LAYOUT_DONE, LAYOUT_NOT_REQUIRED, malloc(), GVJ_s::output_data, GVJ_s::output_data_allocated, OUTPUT_DATA_INITIAL_ALLOCATION, GVJ_s::output_data_position, GVJ_s::output_lang, and GVJ_s::output_langname.
Referenced by renderdata().
Definition at line 3893 of file emit.c.
References GVC_s::active_jobs, agerrorf(), GVJ_s::callbacks, chkOrder(), GVC_s::common, GVJ_s::common, emit_graph(), EMIT_SORTED, FINISH, GVJ_s::flags, GD_drawing, GVG_s::graph_index, GVJ_s::graph_index, gv_fixLocale(), gvc, gvdevice_callbacks, GVDEVICE_DOES_PAGES, GVDEVICE_EVENTS, gvevent_key_binding, gvevent_key_binding_size, GVC_s::gvg, gvjobs_first(), gvjobs_next(), gvrender_begin_job(), gvrender_end_job(), gvrender_select(), init_bb(), init_gvc(), init_job_dpi(), init_job_margin(), init_job_pad(), init_job_pagination(), init_job_viewport(), init_layering(), GVG_s::input_filename, GVJ_s::input_filename, GVJ_s::keybindings, GVC_s::layout, LAYOUT_DONE, GVJ_s::layout_type, GVJ_s::next_active, NO_SUPPORT, NULL, GVJ_s::numkeys, GVJ_s::output_file, GVJ_s::output_lang, GVJ_s::output_langname, Show_boxes, GVCOMMON_s::show_boxes, start_timer(), gvplugin_active_layout_s::type, Verbose, GVCOMMON_s::viewNum, and VTX.
Referenced by gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and main().
void gvToggle | ( | int | s | ) |
Definition at line 402 of file utils.c.
References gvToggle(), and Tflag.
Referenced by gvToggle(), and main().
int gvToolTred | ( | graph_t * | g | ) |
Perform a Transitive Reduction on a graph
g | graph to be transformed. |
Definition at line 70 of file gvtool_tred.c.
References agclean(), agfstnode(), aginit(), agisdirected(), agnameof(), AGNODE, agnxtnode(), dfs(), and NULL.
Referenced by tred().