|
Graphviz 14.0.3~dev.20251029.0425
|
#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 101 of file gv.cpp.
References agraphof(), and edge.
Definition at line 109 of file gv.cpp.
References agraphof(), and edge.
Definition at line 104 of file gv.cpp.
References agraphof(), and edge.
Definition at line 281 of file gv.cpp.
References agfindattr.
Definition at line 275 of file gv.cpp.
References agfindattr.
Definition at line 269 of file gv.cpp.
References agfindattr.
Definition at line 261 of file gv.cpp.
References agfindedge, AGRAPH, agraphof(), and AGTYPE.
Definition at line 572 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 558 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 544 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Definition at line 451 of file gv.cpp.
References agfstedge(), and agraphof().
Definition at line 411 of file gv.cpp.
References firstout().
Definition at line 427 of file gv.cpp.
References agfstout(), aghead, and agraphof().
Definition at line 484 of file gv.cpp.
References agfstin(), and agraphof().
Definition at line 463 of file gv.cpp.
References agfstin(), and agfstnode().
Definition at line 520 of file gv.cpp.
References agfstnode().
Definition at line 415 of file gv.cpp.
References agfstout(), and agraphof().
Definition at line 386 of file gv.cpp.
References agfstnode(), agfstout(), and agnxtnode().
Referenced by firstedge().
Definition at line 369 of file gv.cpp.
References agfstsubg().
Definition at line 382 of file gv.cpp.
References Agraph_s::parent.
Definition at line 496 of file gv.cpp.
References agfstin(), agraphof(), and agtail.
Definition at line 207 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
| char * getv | ( | Agedge_t * | e, |
| char * | attr | ||
| ) |
Definition at line 214 of file gv.cpp.
References agattr_text(), AGEDGE, AGRAPH, agraphof(), agtail, AGTYPE, and myagxget().
Definition at line 164 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
| char * getv | ( | Agnode_t * | n, |
| char * | attr | ||
| ) |
Definition at line 171 of file gv.cpp.
References agattr_text(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, and myagxget().
Definition at line 131 of file gv.cpp.
References myagxget().
| char * getv | ( | Agraph_t * | g, |
| char * | attr | ||
| ) |
Definition at line 132 of file gv.cpp.
References agfindattr, agroot(), and myagxget().
| Agraph_t * graph | ( | char * | name | ) |
Definition at line 32 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(), 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 320 of file gv.cpp.
References AGRAPH, agraphof(), and AGTYPE.
Definition at line 305 of file gv.cpp.
References agroot(), and Agraph_s::root.
|
static |
Definition at line 27 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 617 of file gv.cpp.
References engine, err, gvc, gvFreeLayout(), and gvLayout().
|
static |
Definition at line 119 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 138 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 350 of file gv.cpp.
References agnameof(), AGRAPH, and AGTYPE.
| char * nameof | ( | Agraph_t * | g | ) |
Definition at line 345 of file gv.cpp.
References agnameof().
| char * nameof | ( | Agsym_t * | a | ) |
Definition at line 357 of file gv.cpp.
References Agsym_s::name.
Definition at line 579 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 565 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 551 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Definition at line 457 of file gv.cpp.
References agnxtedge(), and agraphof().
Definition at line 436 of file gv.cpp.
References agfindedge, aghead, AGMKOUT, agnxtout(), and agraphof().
Definition at line 490 of file gv.cpp.
References agnxtin(), and agraphof().
Definition at line 526 of file gv.cpp.
References agnxtnode().
Definition at line 421 of file gv.cpp.
References agnxtout(), and agraphof().
Definition at line 397 of file gv.cpp.
References agfstout(), agnxtnode(), agnxtout(), and agtail.
Referenced by nextedge().
Definition at line 375 of file gv.cpp.
References agnxtsubg().
Definition at line 505 of file gv.cpp.
References agfindedge, AGMKIN, agnxtin(), agraphof(), and agtail.
| bool ok | ( | Agraph_t * | g | ) |
Definition at line 364 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 56 of file gv.cpp.
References agmemread(), gv_init(), and gvc.
| bool render | ( | Agraph_t * | g | ) |
Definition at line 626 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 650 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 668 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 685 of file gv.cpp.
References format, gv_string_writer_init(), gv_writer_reset(), gvc, and gvRender().
| bool rm | ( | Agedge_t * | e | ) |
Definition at line 606 of file gv.cpp.
References agdelete(), aghead, agnameof(), agraphof(), agroot(), and agtail.
| bool rm | ( | Agnode_t * | n | ) |
Definition at line 596 of file gv.cpp.
References agdelete(), agnameof(), and agraphof().
| bool rm | ( | Agraph_t * | g | ) |
Definition at line 223 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
| char * setv | ( | Agedge_t * | e, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 231 of file gv.cpp.
References agattr_text(), AGEDGE, AGRAPH, agraphof(), agroot(), agtail, AGTYPE, emptystring, and myagxset().
Definition at line 180 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
| char * setv | ( | Agnode_t * | n, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 188 of file gv.cpp.
References agattr_text(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, emptystring, and myagxset().
Definition at line 148 of file gv.cpp.
References myagxset().
| char * setv | ( | Agraph_t * | g, |
| char * | attr, | ||
| char * | val | ||
| ) |
Definition at line 154 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 723 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 25 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().