Graphviz 13.0.0~dev.20241220.2304
|
#include "gv_channel.h"
#include <cstdlib>
#include <cstring>
#include <gvc/gvc.h>
#include <string>
#include <util/alloc.h>
Go to the source code of this file.
Data Structures | |
struct | BA |
Macros | |
#define | agfindattr(x, s) agattrsym(x, s) |
#define | agraphattr(g, n, s) agattr(g, AGRAPH, n, s) |
Variables | |
static char | emptystring [] = {'\0'} |
static GVC_t * | gvc |
Agraph_t * digraph | ( | char * | name | ) |
Definition at line 36 of file gv.cpp.
References Agdirected, agopen(), gv_init(), and gvc.
Referenced by _wrap_digraph(), _wrap_digraph(), _wrap_digraph(), _wrap_digraph(), _wrap_digraph(), _wrap_digraph_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
New edges
Definition at line 99 of file gv.cpp.
References agraphof(), and edge.
Definition at line 107 of file gv.cpp.
References agraphof(), and edge.
Definition at line 102 of file gv.cpp.
References agraphof(), and edge.
Definition at line 279 of file gv.cpp.
References agfindattr.
Definition at line 273 of file gv.cpp.
References agfindattr.
Definition at line 267 of file gv.cpp.
References agfindattr.
Referenced by _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_0_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_1_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_2(), _wrap_findattr__SWIG_2(), _wrap_findattr__SWIG_2(), _wrap_findattr__SWIG_2(), _wrap_findattr__SWIG_2(), _wrap_findattr__SWIG_2_gv_f72e3b2553238da4(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 259 of file gv.cpp.
References agfindedge, AGRAPH, agraphof(), and AGTYPE.
Referenced by _wrap_findedge(), _wrap_findedge(), _wrap_findedge(), _wrap_findedge(), _wrap_findedge(), _wrap_findedge_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 253 of file gv.cpp.
References agnode().
Referenced by _wrap_findnode(), _wrap_findnode(), _wrap_findnode(), _wrap_findnode(), _wrap_findnode(), _wrap_findnode_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Find handles from names
Definition at line 247 of file gv.cpp.
References agsubg().
Referenced by _wrap_findsubg(), _wrap_findsubg(), _wrap_findsubg(), _wrap_findsubg(), _wrap_findsubg(), _wrap_findsubg_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 570 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 556 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 542 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Referenced by _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_0_gv_f72e3b2553238da4(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_1_gv_f72e3b2553238da4(), _wrap_firstattr__SWIG_2(), _wrap_firstattr__SWIG_2(), _wrap_firstattr__SWIG_2(), _wrap_firstattr__SWIG_2(), _wrap_firstattr__SWIG_2(), _wrap_firstattr__SWIG_2_gv_f72e3b2553238da4(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 449 of file gv.cpp.
References agfstedge(), and agraphof().
Definition at line 409 of file gv.cpp.
References firstout().
Referenced by _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_0_gv_f72e3b2553238da4(), _wrap_firstedge__SWIG_1(), _wrap_firstedge__SWIG_1(), _wrap_firstedge__SWIG_1(), _wrap_firstedge__SWIG_1(), _wrap_firstedge__SWIG_1(), _wrap_firstedge__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 425 of file gv.cpp.
References agfstout(), aghead, and agraphof().
Referenced by _wrap_firsthead(), _wrap_firsthead(), _wrap_firsthead(), _wrap_firsthead(), _wrap_firsthead(), _wrap_firsthead_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 482 of file gv.cpp.
References agfstin(), and agraphof().
Definition at line 461 of file gv.cpp.
References agfstin(), and agfstnode().
Referenced by _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_0_gv_f72e3b2553238da4(), _wrap_firstin__SWIG_1(), _wrap_firstin__SWIG_1(), _wrap_firstin__SWIG_1(), _wrap_firstin__SWIG_1(), _wrap_firstin__SWIG_1(), _wrap_firstin__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 518 of file gv.cpp.
References agfstnode().
Referenced by _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_0_gv_f72e3b2553238da4(), _wrap_firstnode__SWIG_1(), _wrap_firstnode__SWIG_1(), _wrap_firstnode__SWIG_1(), _wrap_firstnode__SWIG_1(), _wrap_firstnode__SWIG_1(), _wrap_firstnode__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 413 of file gv.cpp.
References agfstout(), and agraphof().
Definition at line 384 of file gv.cpp.
References agfstnode(), agfstout(), and agnxtnode().
Referenced by _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_0_gv_f72e3b2553238da4(), _wrap_firstout__SWIG_1(), _wrap_firstout__SWIG_1(), _wrap_firstout__SWIG_1(), _wrap_firstout__SWIG_1(), _wrap_firstout__SWIG_1(), _wrap_firstout__SWIG_1_gv_f72e3b2553238da4(), firstedge(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 367 of file gv.cpp.
References agfstsubg().
Referenced by _wrap_firstsubg(), _wrap_firstsubg(), _wrap_firstsubg(), _wrap_firstsubg(), _wrap_firstsubg(), _wrap_firstsubg_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 380 of file gv.cpp.
References Agraph_s::parent.
Referenced by _wrap_firstsupg(), _wrap_firstsupg(), _wrap_firstsupg(), _wrap_firstsupg(), _wrap_firstsupg(), _wrap_firstsupg_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 494 of file gv.cpp.
References agfstin(), agraphof(), and agtail.
Referenced by _wrap_firsttail(), _wrap_firsttail(), _wrap_firsttail(), _wrap_firsttail(), _wrap_firsttail(), _wrap_firsttail_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 205 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
char * getv | ( | Agedge_t * | e, |
char * | attr | ||
) |
Definition at line 212 of file gv.cpp.
References agattr(), AGEDGE, AGRAPH, agraphof(), agtail, AGTYPE, and myagxget().
Definition at line 162 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxget().
char * getv | ( | Agnode_t * | n, |
char * | attr | ||
) |
Definition at line 169 of file gv.cpp.
References agattr(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, and myagxget().
Definition at line 129 of file gv.cpp.
References myagxget().
char * getv | ( | Agraph_t * | g, |
char * | attr | ||
) |
Getting attribute values
Definition at line 130 of file gv.cpp.
References agfindattr, agroot(), and myagxget().
Referenced by _wrap_getv__SWIG_0(), _wrap_getv__SWIG_0(), _wrap_getv__SWIG_0(), _wrap_getv__SWIG_0(), _wrap_getv__SWIG_0(), _wrap_getv__SWIG_0_gv_f72e3b2553238da4(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_1_gv_f72e3b2553238da4(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_2_gv_f72e3b2553238da4(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_3_gv_f72e3b2553238da4(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_4_gv_f72e3b2553238da4(), _wrap_getv__SWIG_5(), _wrap_getv__SWIG_5(), _wrap_getv__SWIG_5(), _wrap_getv__SWIG_5(), _wrap_getv__SWIG_5(), _wrap_getv__SWIG_5_gv_f72e3b2553238da4(), XS(), XS(), XS(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Agraph_t * graph | ( | char * | name | ) |
New graphs
Definition at line 30 of file gv.cpp.
References agopen(), Agundirected, gv_init(), and gvc.
Referenced by _wrap_graph__SWIG_0(), _wrap_graph__SWIG_0(), _wrap_graph__SWIG_0(), _wrap_graph__SWIG_0(), _wrap_graph__SWIG_0(), _wrap_graph__SWIG_0_gv_f72e3b2553238da4(), _wrap_graph__SWIG_1(), _wrap_graph__SWIG_1(), _wrap_graph__SWIG_1(), _wrap_graph__SWIG_1(), _wrap_graph__SWIG_1(), _wrap_graph__SWIG_1_gv_f72e3b2553238da4(), add_edge(), add_graph_to_viewport(), add_graph_to_viewport_from_file(), 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(), 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(), 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(), update_graph_params(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 318 of file gv.cpp.
References AGRAPH, agraphof(), and AGTYPE.
Definition at line 303 of file gv.cpp.
References agroot(), and Agraph_s::root.
Referenced by _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_0_gv_f72e3b2553238da4(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_1_gv_f72e3b2553238da4(), _wrap_graphof__SWIG_2(), _wrap_graphof__SWIG_2(), _wrap_graphof__SWIG_2(), _wrap_graphof__SWIG_2(), _wrap_graphof__SWIG_2(), _wrap_graphof__SWIG_2_gv_f72e3b2553238da4(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
|
static |
Definition at line 25 of file gv.cpp.
References gvc, gvContextPlugins(), and lt_preloaded_symbols.
Referenced by digraph(), graph(), graph(), read(), read(), readstring(), strictdigraph(), strictgraph(), and SWIG_Perl_MakePtr().
Misc graph navigators returning handles
Definition at line 287 of file gv.cpp.
References aghead, AGRAPH, and AGTYPE.
Referenced by _wrap_headof(), _wrap_headof(), _wrap_headof(), _wrap_headof(), _wrap_headof(), _wrap_headof_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool layout | ( | Agraph_t * | g, |
const char * | engine | ||
) |
Definition at line 615 of file gv.cpp.
References engine, err, gvc, gvFreeLayout(), and gvLayout().
Referenced by _wrap_layout(), _wrap_layout(), _wrap_layout(), _wrap_layout(), _wrap_layout(), _wrap_layout_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
|
static |
Definition at line 117 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 136 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 348 of file gv.cpp.
References agnameof(), AGRAPH, and AGTYPE.
char * nameof | ( | Agraph_t * | g | ) |
Obtain names from handles
Definition at line 343 of file gv.cpp.
References agnameof().
Referenced by _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_0_gv_f72e3b2553238da4(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_1_gv_f72e3b2553238da4(), _wrap_nameof__SWIG_2(), _wrap_nameof__SWIG_2(), _wrap_nameof__SWIG_2(), _wrap_nameof__SWIG_2(), _wrap_nameof__SWIG_2(), _wrap_nameof__SWIG_2_gv_f72e3b2553238da4(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
char * nameof | ( | Agsym_t * | a | ) |
Definition at line 355 of file gv.cpp.
References Agsym_s::name.
Definition at line 577 of file gv.cpp.
References AGEDGE, agnxtattr(), agraphof(), and agtail.
Definition at line 563 of file gv.cpp.
References AGNODE, agnxtattr(), and agraphof().
Definition at line 549 of file gv.cpp.
References agnxtattr(), AGRAPH, and agroot().
Referenced by _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_0_gv_f72e3b2553238da4(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_1_gv_f72e3b2553238da4(), _wrap_nextattr__SWIG_2(), _wrap_nextattr__SWIG_2(), _wrap_nextattr__SWIG_2(), _wrap_nextattr__SWIG_2(), _wrap_nextattr__SWIG_2(), _wrap_nextattr__SWIG_2_gv_f72e3b2553238da4(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 455 of file gv.cpp.
References agnxtedge(), and agraphof().
Definition at line 411 of file gv.cpp.
References nextout().
Referenced by _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_0_gv_f72e3b2553238da4(), _wrap_nextedge__SWIG_1(), _wrap_nextedge__SWIG_1(), _wrap_nextedge__SWIG_1(), _wrap_nextedge__SWIG_1(), _wrap_nextedge__SWIG_1(), _wrap_nextedge__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 434 of file gv.cpp.
References agfindedge, aghead, AGMKOUT, agnxtout(), and agraphof().
Referenced by _wrap_nexthead(), _wrap_nexthead(), _wrap_nexthead(), _wrap_nexthead(), _wrap_nexthead(), _wrap_nexthead_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 488 of file gv.cpp.
References agnxtin(), and agraphof().
Referenced by _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_0_gv_f72e3b2553238da4(), _wrap_nextin__SWIG_1(), _wrap_nextin__SWIG_1(), _wrap_nextin__SWIG_1(), _wrap_nextin__SWIG_1(), _wrap_nextin__SWIG_1(), _wrap_nextin__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 524 of file gv.cpp.
References agnxtnode().
Referenced by _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_0_gv_f72e3b2553238da4(), _wrap_nextnode__SWIG_1(), _wrap_nextnode__SWIG_1(), _wrap_nextnode__SWIG_1(), _wrap_nextnode__SWIG_1(), _wrap_nextnode__SWIG_1(), _wrap_nextnode__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 419 of file gv.cpp.
References agnxtout(), and agraphof().
Definition at line 395 of file gv.cpp.
References agfstout(), agnxtnode(), agnxtout(), and agtail.
Referenced by _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_0_gv_f72e3b2553238da4(), _wrap_nextout__SWIG_1(), _wrap_nextout__SWIG_1(), _wrap_nextout__SWIG_1(), _wrap_nextout__SWIG_1(), _wrap_nextout__SWIG_1(), _wrap_nextout__SWIG_1_gv_f72e3b2553238da4(), nextedge(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 373 of file gv.cpp.
References agnxtsubg().
Referenced by _wrap_nextsubg(), _wrap_nextsubg(), _wrap_nextsubg(), _wrap_nextsubg(), _wrap_nextsubg(), _wrap_nextsubg_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 382 of file gv.cpp.
Referenced by _wrap_nextsupg(), _wrap_nextsupg(), _wrap_nextsupg(), _wrap_nextsupg(), _wrap_nextsupg(), _wrap_nextsupg_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 503 of file gv.cpp.
References agfindedge, AGMKIN, agnxtin(), agraphof(), and agtail.
Referenced by _wrap_nexttail(), _wrap_nexttail(), _wrap_nexttail(), _wrap_nexttail(), _wrap_nexttail(), _wrap_nexttail_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool ok | ( | Agraph_t * | g | ) |
Iterators
Definition at line 362 of file gv.cpp.
Referenced by _wrap_ok__SWIG_0(), _wrap_ok__SWIG_0(), _wrap_ok__SWIG_0(), _wrap_ok__SWIG_0(), _wrap_ok__SWIG_0(), _wrap_ok__SWIG_0_gv_f72e3b2553238da4(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_1_gv_f72e3b2553238da4(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_2_gv_f72e3b2553238da4(), _wrap_ok__SWIG_3(), _wrap_ok__SWIG_3(), _wrap_ok__SWIG_3(), _wrap_ok__SWIG_3(), _wrap_ok__SWIG_3(), _wrap_ok__SWIG_3_gv_f72e3b2553238da4(), dtvsearch(), onematch(), SWIG_Lua_dostring(), XS(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 338 of file gv.cpp.
Referenced by _wrap_protoedge(), _wrap_protoedge(), _wrap_protoedge(), _wrap_protoedge(), _wrap_protoedge(), _wrap_protoedge_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Obtain handles of proto node/edge for setting default attribute values
Definition at line 334 of file gv.cpp.
Referenced by _wrap_protonode(), _wrap_protonode(), _wrap_protonode(), _wrap_protonode(), _wrap_protonode(), _wrap_protonode_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Agraph_t * read | ( | const char * | filename | ) |
Definition at line 66 of file gv.cpp.
References agread(), gv_init(), and gvc.
Referenced by _wrap_read__SWIG_0(), _wrap_read__SWIG_0(), _wrap_read__SWIG_0(), _wrap_read__SWIG_0(), _wrap_read__SWIG_0(), _wrap_read__SWIG_0_gv_f72e3b2553238da4(), _wrap_read__SWIG_1(), _wrap_read__SWIG_1(), _wrap_read__SWIG_1(), _wrap_read__SWIG_1(), _wrap_read__SWIG_1(), _wrap_read__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Agraph_t * read | ( | FILE * | f | ) |
Agraph_t * readstring | ( | char * | string | ) |
Definition at line 54 of file gv.cpp.
References agmemread(), gv_init(), and gvc.
Referenced by _wrap_readstring(), _wrap_readstring(), _wrap_readstring(), _wrap_readstring(), _wrap_readstring(), _wrap_readstring_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool render | ( | Agraph_t * | g | ) |
Render
Definition at line 624 of file gv.cpp.
References attach_attrs().
Referenced by _wrap_render__SWIG_0(), _wrap_render__SWIG_0(), _wrap_render__SWIG_0(), _wrap_render__SWIG_0(), _wrap_render__SWIG_0(), _wrap_render__SWIG_0_gv_f72e3b2553238da4(), _wrap_render__SWIG_1(), _wrap_render__SWIG_1(), _wrap_render__SWIG_1(), _wrap_render__SWIG_1(), _wrap_render__SWIG_1(), _wrap_render__SWIG_1_gv_f72e3b2553238da4(), _wrap_render__SWIG_2(), _wrap_render__SWIG_2(), _wrap_render__SWIG_2(), _wrap_render__SWIG_2(), _wrap_render__SWIG_2(), _wrap_render__SWIG_2_gv_f72e3b2553238da4(), _wrap_render__SWIG_3(), _wrap_render__SWIG_3(), _wrap_render__SWIG_3(), _wrap_render__SWIG_3(), _wrap_render__SWIG_3(), _wrap_render__SWIG_3_gv_f72e3b2553238da4(), gvplugin_graph(), XS(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
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 648 of file gv.cpp.
References err, format, gv_channel_writer_init(), gv_writer_reset(), gvc, and gvRender().
Referenced by _wrap_renderchannel(), _wrap_renderchannel(), _wrap_renderchannel(), _wrap_renderchannel(), _wrap_renderchannel(), _wrap_renderchannel_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
char * renderdata | ( | Agraph_t * | g, |
const char * | format | ||
) |
Definition at line 699 of file gv.cpp.
References err, format, gvc, and gvRenderData().
Referenced by _wrap_renderdata(), _wrap_renderdata(), _wrap_renderdata(), _wrap_renderdata(), _wrap_renderdata(), _wrap_renderdata_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
char * renderresult | ( | Agraph_t * | g, |
const char * | format | ||
) |
Definition at line 672 of file gv.cpp.
References BA::data, format, GD_alg, gv_calloc(), gv_string_writer_init(), gv_writer_reset(), gvc, gvRender(), BA::len, and BA::sz.
void renderresult | ( | Agraph_t * | g, |
const char * | format, | ||
char * | outdata | ||
) |
Definition at line 690 of file gv.cpp.
References format, gv_string_writer_init(), gv_writer_reset(), gvc, and gvRender().
Referenced by _wrap_renderresult(), _wrap_renderresult(), _wrap_renderresult(), _wrap_renderresult(), _wrap_renderresult(), _wrap_renderresult_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool rm | ( | Agedge_t * | e | ) |
Definition at line 604 of file gv.cpp.
References agdelete(), aghead, agnameof(), agraphof(), agroot(), and agtail.
bool rm | ( | Agnode_t * | n | ) |
Definition at line 594 of file gv.cpp.
References agdelete(), agnameof(), and agraphof().
bool rm | ( | Agraph_t * | g | ) |
Remove graph objects
Definition at line 584 of file gv.cpp.
References agclose().
Referenced by _wrap_rm__SWIG_0(), _wrap_rm__SWIG_0(), _wrap_rm__SWIG_0(), _wrap_rm__SWIG_0(), _wrap_rm__SWIG_0(), _wrap_rm__SWIG_0_gv_f72e3b2553238da4(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_1_gv_f72e3b2553238da4(), _wrap_rm__SWIG_2(), _wrap_rm__SWIG_2(), _wrap_rm__SWIG_2(), _wrap_rm__SWIG_2(), _wrap_rm__SWIG_2(), _wrap_rm__SWIG_2_gv_f72e3b2553238da4(), medians(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Definition at line 327 of file gv.cpp.
References agroot().
Referenced by _wrap_rootof(), _wrap_rootof(), _wrap_rootof(), _wrap_rootof(), _wrap_rootof(), _wrap_rootof_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 221 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
char * setv | ( | Agedge_t * | e, |
char * | attr, | ||
char * | val | ||
) |
Definition at line 229 of file gv.cpp.
References agattr(), AGEDGE, AGRAPH, agraphof(), agroot(), agtail, AGTYPE, emptystring, and myagxset().
Definition at line 178 of file gv.cpp.
References AGRAPH, AGTYPE, and myagxset().
char * setv | ( | Agnode_t * | n, |
char * | attr, | ||
char * | val | ||
) |
Definition at line 186 of file gv.cpp.
References agattr(), AGNODE, AGRAPH, agraphof(), agroot(), AGTYPE, emptystring, and myagxset().
Definition at line 146 of file gv.cpp.
References myagxset().
char * setv | ( | Agraph_t * | g, |
char * | attr, | ||
char * | val | ||
) |
Setting attribute values
Definition at line 152 of file gv.cpp.
References agfindattr, agraphattr, agroot(), emptystring, myagxset(), and Agraph_s::root.
Referenced by _wrap_setv__SWIG_0(), _wrap_setv__SWIG_0(), _wrap_setv__SWIG_0(), _wrap_setv__SWIG_0(), _wrap_setv__SWIG_0(), _wrap_setv__SWIG_0_gv_f72e3b2553238da4(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_1_gv_f72e3b2553238da4(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_2_gv_f72e3b2553238da4(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_3_gv_f72e3b2553238da4(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_4_gv_f72e3b2553238da4(), _wrap_setv__SWIG_5(), _wrap_setv__SWIG_5(), _wrap_setv__SWIG_5(), _wrap_setv__SWIG_5(), _wrap_setv__SWIG_5(), _wrap_setv__SWIG_5_gv_f72e3b2553238da4(), XS(), XS(), XS(), XS(), XS(), XS(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
Agraph_t * strictdigraph | ( | char * | name | ) |
Definition at line 48 of file gv.cpp.
References agopen(), Agstrictdirected, gv_init(), and gvc.
Referenced by _wrap_strictdigraph(), _wrap_strictdigraph(), _wrap_strictdigraph(), _wrap_strictdigraph(), _wrap_strictdigraph(), _wrap_strictdigraph_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Agraph_t * strictgraph | ( | char * | name | ) |
Definition at line 42 of file gv.cpp.
References agopen(), Agstrictundirected, gv_init(), and gvc.
Referenced by _wrap_strictgraph(), _wrap_strictgraph(), _wrap_strictgraph(), _wrap_strictgraph(), _wrap_strictgraph(), _wrap_strictgraph_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
Definition at line 295 of file gv.cpp.
References AGRAPH, agtail, and AGTYPE.
Referenced by _wrap_tailof(), _wrap_tailof(), _wrap_tailof(), _wrap_tailof(), _wrap_tailof(), _wrap_tailof_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool tred | ( | Agraph_t * | g | ) |
Definition at line 728 of file gv.cpp.
References err, and gvToolTred().
Referenced by _wrap_tred(), _wrap_tred(), _wrap_tred(), _wrap_tred(), _wrap_tred(), _wrap_tred_gv_f72e3b2553238da4(), PHP_FUNCTION(), PHP_METHOD(), and XS().
bool write | ( | Agraph_t * | g, |
const char * | filename | ||
) |
Definition at line 717 of file gv.cpp.
References agwrite(), and err.
Referenced by _wrap_write__SWIG_0(), _wrap_write__SWIG_0(), _wrap_write__SWIG_0(), _wrap_write__SWIG_0(), _wrap_write__SWIG_0(), _wrap_write__SWIG_0_gv_f72e3b2553238da4(), _wrap_write__SWIG_1(), _wrap_write__SWIG_1(), _wrap_write__SWIG_1(), _wrap_write__SWIG_1(), _wrap_write__SWIG_1(), _wrap_write__SWIG_1_gv_f72e3b2553238da4(), XS(), XS(), ZEND_NAMED_FUNCTION(), and ZEND_NAMED_FUNCTION().
bool write | ( | Agraph_t * | g, |
FILE * | f | ||
) |
|
static |
|
static |
Definition at line 23 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().