|
Graphviz 14.1.2~dev.20260119.0928
|
#include "config.h"#include "gv_channel.h"#include <cassert>#include <climits>#include <cstring>#include <gvc/gvc.h>#include <string>#include <util/agxbuf.h>#include <util/alloc.h>Go to the source code of this file.
Macros | |
| #define | agfindattr(x, s) agattrsym(x, s) |
| #define | agraphattr(g, n, s) agattr_text(g, AGRAPH, n, s) |
Variables | |
| static char | emptystring [] = {'\0'} |
| static GVC_t * | gvc |
| Agraph_t * digraph | ( | char * | name | ) |
Definition at line 103 of file gv.cpp.
References agraphof(), and edge.
Definition at line 111 of file gv.cpp.
References agraphof(), and edge.
Definition at line 106 of file gv.cpp.
References agraphof(), and edge.
Definition at line 283 of file gv.cpp.
References agfindattr.
Definition at line 277 of file gv.cpp.
References agfindattr.
Definition at line 271 of file gv.cpp.
References agfindattr.
Definition at line 263 of file gv.cpp.
References agfindedge, AGRAPH, agraphof(), and AGTYPE.
Definition at line 574 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 560 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 546 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Definition at line 453 of file gv.cpp.
References agfstedge(), and agraphof().
Definition at line 413 of file gv.cpp.
References firstout().
Definition at line 429 of file gv.cpp.
References agfstout(), aghead, and agraphof().
Definition at line 486 of file gv.cpp.
References agfstin(), and agraphof().
Definition at line 465 of file gv.cpp.
References agfstin(), and agfstnode().
Definition at line 522 of file gv.cpp.
References agfstnode().
Definition at line 417 of file gv.cpp.
References agfstout(), and agraphof().
Definition at line 388 of file gv.cpp.
References agfstnode(), agfstout(), and agnxtnode().
Referenced by firstedge().
Definition at line 371 of file gv.cpp.
References agfstsubg().
Definition at line 384 of file gv.cpp.
References Agraph_s::parent.
Definition at line 498 of file gv.cpp.
References agfstin(), agraphof(), and agtail.
Definition at line 209 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
| char * getv | ( | Agedge_t * | e, |
| char * | attr | ||
| ) |
Definition at line 216 of file gv.cpp.
References agattr_text(), AGEDGE, AGRAPH, agraphof(), agtail, AGTYPE, and myagxget().
Definition at line 166 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
| char * getv | ( | Agnode_t * | n, |
| char * | attr | ||
| ) |
Definition at line 173 of file gv.cpp.
References agattr_text(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, and myagxget().
Definition at line 133 of file gv.cpp.
References myagxget().
| char * getv | ( | Agraph_t * | g, |
| char * | attr | ||
| ) |
Definition at line 134 of file gv.cpp.
References agfindattr, agroot(), and myagxget().
| Agraph_t * graph | ( | char * | name | ) |
Definition at line 34 of file gv.cpp.
References agopen(), Agundirected, gv_init(), and gvc.
Referenced by add_edge(), add_graph_to_viewport(), add_graph_to_viewport_from_file(), agsafeset(), bfs(), chkBoundBox(), circuitModel(), closest_pairs2graph(), coarsen_match(), common_neighbors(), compute_apsp(), compute_apsp_artificial_weights(), compute_apsp_artificial_weights_packed(), compute_apsp_dijkstra(), compute_apsp_packed(), compute_apsp_simple(), compute_densities(), compute_new_weights(), compute_weighted_apsp_packed(), constructSierpinski(), constructTetrix(), cpExGraph(), cpGraph(), create_hierarchy(), dijkstra_f(), dijkstra_sgd(), dist3(), dist_from_foci(), embed_graph(), empty_neighbors_vec(), empty_neighbors_vec(), extract_active_logical_coords(), extract_adjacency(), fill_neighbors_vec(), fill_neighbors_vec_unweighted(), fill_neighbors_vec_unweighted(), findClosestActiveNode(), free_adjacency(), freeGraph(), freeGraphData(), improve_contiguity(), init_active_level(), LIST(), main(), make_coarse_ex_graph(), make_coarse_graph(), make_map_from_rectangle_groups(), make_map_internal(), makeGraph(), makeGraphData(), makeHier(), makeInfo(), makeMap(), makeSierpinski(), makeTetrix(), mapFromGraph(), maxmatch(), mdsModel(), mkGraph(), mkGraph(), my_init_graph(), ngdijkstra(), prepare_topological_fisheye(), refreshViewport(), remove_edge(), rescale_layout_polar(), rescale_layout_polarFocus(), restore_old_weights(), save_graph_with_file_name(), set_active_levels(), set_active_physical_coords(), sgd(), sparse_stress_subspace_majorization_kD(), stress_majorization_kD_mkernel(), unweighted_common_fraction(), and update_graph_params().
Definition at line 322 of file gv.cpp.
References AGRAPH, agraphof(), and AGTYPE.
Definition at line 307 of file gv.cpp.
References agroot(), and Agraph_s::root.
|
static |
Definition at line 29 of file gv.cpp.
References gvc, gvContextPlugins(), and lt_preloaded_symbols.
Referenced by digraph(), graph(), graph(), read(), read(), readstring(), strictdigraph(), and strictgraph().
| bool layout | ( | Agraph_t * | g, |
| const char * | engine | ||
| ) |
Definition at line 619 of file gv.cpp.
References engine, err, gvc, gvFreeLayout(), and gvLayout().
|
static |
Definition at line 121 of file gv.cpp.
References aghtmlstr(), agxget(), emptystring, gv_strdup(), and Agsym_s::name.
Referenced by getv(), getv(), getv(), getv(), getv(), and getv().
|
static |
Definition at line 140 of file gv.cpp.
References agraphof(), agstrdup_html(), agxset(), len(), and Agsym_s::name.
Referenced by setv(), setv(), setv(), setv(), setv(), and setv().
| char * nameof | ( | Agnode_t * | n | ) |
Definition at line 352 of file gv.cpp.
References agnameof(), AGRAPH, and AGTYPE.
| char * nameof | ( | Agraph_t * | g | ) |
Definition at line 347 of file gv.cpp.
References agnameof().
| char * nameof | ( | Agsym_t * | a | ) |
Definition at line 359 of file gv.cpp.
References Agsym_s::name.
Definition at line 581 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 567 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 553 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Definition at line 459 of file gv.cpp.
References agnxtedge(), and agraphof().
Definition at line 438 of file gv.cpp.
References agfindedge, aghead, AGMKOUT, agnxtout(), and agraphof().
Definition at line 492 of file gv.cpp.
References agnxtin(), and agraphof().
Definition at line 528 of file gv.cpp.
References agnxtnode().
Definition at line 423 of file gv.cpp.
References agnxtout(), and agraphof().
Definition at line 399 of file gv.cpp.
References agfstout(), agnxtnode(), agnxtout(), and agtail.
Referenced by nextedge().
Definition at line 377 of file gv.cpp.
References agnxtsubg().
Definition at line 507 of file gv.cpp.
References agfindedge, AGMKIN, agnxtin(), agraphof(), and agtail.
| bool ok | ( | Agraph_t * | g | ) |
Definition at line 366 of file gv.cpp.
Referenced by dtvsearch(), and onematch().
| Agraph_t * read | ( | const char * | filename | ) |
| Agraph_t * read | ( | FILE * | f | ) |
| Agraph_t * readstring | ( | char * | string | ) |
Definition at line 58 of file gv.cpp.
References agmemread(), gv_init(), and gvc.
| bool render | ( | Agraph_t * | g | ) |
Definition at line 628 of file gv.cpp.
References attach_attrs().
Referenced by gvplugin_graph().
| bool render | ( | Agraph_t * | g, |
| const char * | format | ||
| ) |
| bool render | ( | Agraph_t * | g, |
| const char * | format, | ||
| const char * | filename | ||
| ) |
| bool render | ( | Agraph_t * | g, |
| const char * | format, | ||
| FILE * | f | ||
| ) |
| bool renderchannel | ( | Agraph_t * | g, |
| const char * | format, | ||
| const char * | channelname | ||
| ) |
Definition at line 652 of file gv.cpp.
References err, format, gv_channel_writer_init(), gv_writer_reset(), gvc, and gvRender().
| char * renderdata | ( | Agraph_t * | g, |
| const char * | format | ||
| ) |
| char * renderresult | ( | Agraph_t * | g, |
| const char * | format | ||
| ) |
Definition at line 670 of file gv.cpp.
References agxbdisown(), agxblen(), format, GD_alg, gv_string_writer_init(), gv_writer_reset(), gvc, gvRender(), and len().
| void renderresult | ( | Agraph_t * | g, |
| const char * | format, | ||
| char * | outdata | ||
| ) |
Definition at line 687 of file gv.cpp.
References format, gv_string_writer_init(), gv_writer_reset(), gvc, and gvRender().
| bool rm | ( | Agedge_t * | e | ) |
Definition at line 608 of file gv.cpp.
References agdelete(), aghead, agnameof(), agraphof(), agroot(), and agtail.
| bool rm | ( | Agnode_t * | n | ) |
Definition at line 598 of file gv.cpp.
References agdelete(), agnameof(), and agraphof().
| bool rm | ( | Agraph_t * | g | ) |
Definition at line 225 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
| char * setv | ( | Agedge_t * | e, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 233 of file gv.cpp.
References agattr_text(), AGEDGE, AGRAPH, agraphof(), agroot(), agtail, AGTYPE, emptystring, and myagxset().
Definition at line 182 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
| char * setv | ( | Agnode_t * | n, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 190 of file gv.cpp.
References agattr_text(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, emptystring, and myagxset().
Definition at line 150 of file gv.cpp.
References myagxset().
| char * setv | ( | Agraph_t * | g, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 156 of file gv.cpp.
References agfindattr, agraphattr, agroot(), emptystring, myagxset(), and Agraph_s::root.
| Agraph_t * strictdigraph | ( | char * | name | ) |
| Agraph_t * strictgraph | ( | char * | name | ) |
| bool tred | ( | Agraph_t * | g | ) |
Definition at line 725 of file gv.cpp.
References err, and gvToolTred().
| bool write | ( | Agraph_t * | g, |
| const char * | filename | ||
| ) |
| bool write | ( | Agraph_t * | g, |
| FILE * | f | ||
| ) |
|
static |
|
static |
Definition at line 27 of file gv.cpp.
Referenced by cloneGraph(), config_extra_args(), core_loadimage_null(), digraph(), dotneato_args_initialize(), edge(), emit_node(), emit_view(), graph(), graph(), graphcmd_internal(), gv_channel_writer_init(), gv_init(), gv_string_writer_init(), gv_writer_reset(), gvAddLibrary(), gvcBuildDate(), gvcInfo(), gvCloneGVC(), gvconfig(), gvconfig_plugin_install_builtins(), gvconfig_plugin_install_from_library(), gvContext(), gvContextPlugins(), gvcVersion(), gvdevice_initialize(), gvevent_read(), gvFinalize(), gvFreeCloneGVC(), gvFreeContext(), gvFreeLayout(), gvg_init(), gvjobs_delete(), gvjobs_first(), gvjobs_next(), gvjobs_output_filename(), gvjobs_output_langname(), gvLayout(), gvlayout_select(), gvLayoutJobs(), gvNEWcontext(), gvNextInputGraph(), gvParseArgs(), gvplugin_activate(), gvplugin_graph(), gvplugin_install(), gvplugin_library_load(), gvplugin_list(), gvplugin_load(), gvplugin_package_record(), gvplugin_write_status(), gvPluginList(), gvPluginsGraph(), gvRender(), gvrender_select(), gvRenderContext(), gvRenderData(), gvRenderFilename(), gvRenderJobs(), gvtextlayout(), gvtextlayout_select(), init_graph(), init_gvc(), init_job_margin(), init_job_pad(), init_job_pagination(), init_job_viewport(), init_layering(), json_begin_graph(), layer_index(), layout(), LoadPlugins(), main(), main(), main(), make_simple_label(), node(), parse_layers(), parse_layerselect(), read(), read(), readGraphs(), readstring(), render(), render(), render(), renderchannel(), renderdata(), renderresult(), renderresult(), selectedLayer(), size_html_txt(), storeline(), strictdigraph(), strictgraph(), tcldot_layout(), textfont_dict_close(), textfont_dict_open(), textspan_size(), use_library(), and xdotBB().