Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | Agrec_s |
struct | Agtag_s |
struct | Agobj_s |
struct | Agsubnode_s |
struct | Agnode_s |
struct | Agedge_s |
struct | Agedgepair_s |
struct | Agdesc_s |
struct | Agmemdisc_s |
struct | Agiddisc_s |
struct | Agiodisc_s |
struct | Agdisc_s |
struct | Agdstate_s |
struct | Agcbdisc_s |
struct | Agcbstack_s |
struct | Agclos_s |
struct | Agraph_s |
struct | Agattr_s |
struct | Agsym_s |
struct | Agdatadict_s |
Macros | |
#define | CGRAPH_API extern |
#define | FALSE (0) |
#define | TRUE (!FALSE) |
#define | NOT(x) (!(x)) |
#define | NIL(type) ((type)0) |
#define | NILgraph NIL(Agraph_t*) |
#define | NILnode NIL(Agnode_t*) |
#define | NILedge NIL(Agedge_t*) |
#define | NILsym NIL(Agsym_t*) |
#define | AGRAPH 0 /* can't exceed 2 bits. see Agtag_t. */ |
#define | AGNODE 1 |
#define | AGOUTEDGE 2 |
#define | AGINEDGE 3 /* (1 << 1) indicates an edge tag. */ |
#define | AGEDGE AGOUTEDGE /* synonym in object kind args */ |
#define | AGTAG(obj) (((Agobj_t*)(obj))->tag) |
#define | AGTYPE(obj) (AGTAG(obj).objtype) |
#define | AGID(obj) (AGTAG(obj).id) |
#define | AGSEQ(obj) (AGTAG(obj).seq) |
#define | AGATTRWF(obj) (AGTAG(obj).attrwf) |
#define | AGDATA(obj) (((Agobj_t*)(obj))->data) |
#define | agnew(g, t) ((t*)agalloc(g,sizeof(t))) |
#define | agnnew(g, n, t) ((t*)agalloc(g,(n)*sizeof(t))) |
#define | AGIN2OUT(e) ((e)-1) |
#define | AGOUT2IN(e) ((e)+1) |
#define | AGOPP(e) ((AGTYPE(e)==AGINEDGE)?AGIN2OUT(e):AGOUT2IN(e)) |
#define | AGMKOUT(e) (AGTYPE(e) == AGOUTEDGE? (e): AGIN2OUT(e)) |
#define | AGMKIN(e) (AGTYPE(e) == AGINEDGE? (e): AGOUT2IN(e)) |
#define | AGTAIL(e) (AGMKIN(e)->node) |
#define | AGHEAD(e) (AGMKOUT(e)->node) |
#define | AGEQEDGE(e, f) (AGMKOUT(e) == AGMKOUT(f)) |
#define | agtail(e) AGTAIL(e) |
#define | aghead(e) AGHEAD(e) |
#define | agopp(e) AGOPP(e) |
#define | ageqedge(e, f) AGEQEDGE(e,f) |
#define | TAILPORT_ID "tailport" |
#define | HEADPORT_ID "headport" |
#define | AGHEADPOINTER(g) ((Agnoderef_t*)(g->n_seq->data->hh._head)) |
#define | AGRIGHTPOINTER(rep) ((Agnoderef_t*)((rep)->seq_link.right?((void*)((rep)->seq_link.right) - offsetof(Agsubnode_t,seq_link)):0)) |
#define | AGLEFTPOINTER(rep) ((Agnoderef_t*)((rep)->seq_link.hl._left?((void*)((rep)->seq_link.hl._left) - offsetof(Agsubnode_t,seq_link)):0)) |
#define | FIRSTNREF(g) (agflatten(g,1), AGHEADPOINTER(g)) |
#define | NEXTNREF(g, rep) (AGRIGHTPOINTER(rep) == AGHEADPOINTER(g)?0:AGRIGHTPOINTER(rep)) |
#define | PREVNREF(g, rep) (((rep)==AGHEADPOINTER(g))?0:(AGLEFTPOINTER(rep))) |
#define | LASTNREF(g) (agflatten(g,1), AGHEADPOINTER(g)?AGLEFTPOINTER(AGHEADPOINTER(g)):0) |
#define | NODEOF(rep) ((rep)->node) |
#define | FIRSTOUTREF(g, sn) (agflatten(g,1), (sn)->out_seq) |
#define | LASTOUTREF(g, sn) (agflatten(g,1), (Agedgeref_t*)dtlast(sn->out_seq)) |
#define | FIRSTINREF(g, sn) (agflatten(g,1), (sn)->in_seq) |
#define | NEXTEREF(g, rep) ((rep)->right) |
#define | PREVEREF(g, rep) ((rep)->hl._left) |
#define | AGSNMAIN(sn) ((sn)==(&((sn)->node->mainsub))) |
#define | EDGEOF(sn, rep) (AGSNMAIN(sn)?((Agedge_t*)((unsigned char*)(rep) - offsetof(Agedge_t,seq_link))) : ((Dthold_t*)(rep))->obj) |
Typedefs | |
typedef uint64_t | IDTYPE |
typedef struct Agtag_s | Agtag_t |
typedef struct Agobj_s | Agobj_t |
typedef struct Agraph_s | Agraph_t |
typedef struct Agnode_s | Agnode_t |
typedef struct Agedge_s | Agedge_t |
typedef struct Agdesc_s | Agdesc_t |
typedef struct Agmemdisc_s | Agmemdisc_t |
typedef struct Agiddisc_s | Agiddisc_t |
typedef struct Agiodisc_s | Agiodisc_t |
typedef struct Agdisc_s | Agdisc_t |
typedef struct Agdstate_s | Agdstate_t |
typedef struct Agsym_s | Agsym_t |
typedef struct Agattr_s | Agattr_t |
typedef struct Agcbdisc_s | Agcbdisc_t |
typedef struct Agcbstack_s | Agcbstack_t |
typedef struct Agclos_s | Agclos_t |
typedef struct Agrec_s | Agrec_t |
typedef struct Agdatadict_s | Agdatadict_t |
typedef struct Agedgepair_s | Agedgepair_t |
typedef struct Agsubnode_s | Agsubnode_t |
typedef void(* | agobjfn_t )(Agraph_t *g, Agobj_t *obj, void *arg) |
typedef void(* | agobjupdfn_t )(Agraph_t *g, Agobj_t *obj, void *arg, Agsym_t *sym) |
typedef int(* | agusererrf )(char *) |
typedef Agsubnode_t | Agnoderef_t |
typedef Dtlink_t | Agedgeref_t |
Enumerations | |
enum | agerrlevel_t { AGWARN, AGERR, AGMAX, AGPREV } |
#define AGEDGE AGOUTEDGE /* synonym in object kind args */ |
Definition at line 104 of file cgraph.h.
Referenced by agdelcb(), agdeledge(), agedge(), agidedge(), aginitcb(), aginternalmapdelete(), aginternalmapinsert(), aginternalmaplookup(), agnameof(), agupdcb(), assign_random_edge_color(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), convert_edge_labels_to_nodes(), dot_sameports(), dotneato_args_initialize(), fdp_init_node_edge(), firstattr(), getObjId(), getv(), gvplugin_graph(), Import_coord_clusters_from_dot(), Import_dot_splines(), listEdgeAttrs(), make_html_label(), make_label(), makeDotGraph(), nextattr(), scan_graph_mode(), setAttr(), setedgeattributes(), setv(), and SparseMatrix_import_dot().
Definition at line 408 of file cgraph.h.
Referenced by ageqedge().
Definition at line 407 of file cgraph.h.
Referenced by aghead(), agnxtin(), agsplice(), and agsubedge().
#define AGHEADPOINTER | ( | g | ) | ((Agnoderef_t*)(g->n_seq->data->hh._head)) |
#define AGID | ( | obj | ) | (AGTAG(obj).id) |
Definition at line 114 of file cgraph.h.
Referenced by agclose(), agcontains(), agdeledge(), agdelnode(), agedgeidcmpf(), agexpose(), agnameof(), agopen(), agraphidcmpf(), agrelabel_node(), agrename(), agsubedge(), agsubnode(), and agsubnodeidcmpf().
#define AGIN2OUT | ( | e | ) | ((e)-1) |
Definition at line 401 of file cgraph.h.
Referenced by agdeledgeimage().
#define AGINEDGE 3 /* (1 << 1) indicates an edge tag. */ |
Definition at line 103 of file cgraph.h.
Referenced by agapply(), agbindrec(), agclean(), agdeledgeimage(), agdelete(), agdelrec(), agdictof(), aginit(), aginternalmapdelete(), aginternalmapinsert(), aginternalmaplookup(), agraphof(), agrename(), agroot(), make_aux_edge(), new_virtual_edge(), and obj2cmd().
#define AGLEFTPOINTER | ( | rep | ) | ((Agnoderef_t*)((rep)->seq_link.hl._left?((void*)((rep)->seq_link.hl._left) - offsetof(Agsubnode_t,seq_link)):0)) |
Definition at line 405 of file cgraph.h.
Referenced by agmkin(), and nexttail().
Definition at line 404 of file cgraph.h.
Referenced by agdeledge(), agmkout(), interclexp(), and nexthead().
#define AGNODE 1 |
Definition at line 101 of file cgraph.h.
Referenced by agapply(), agbindrec(), agclean(), agcontains(), agdelcb(), agdelete(), agdelnode(), agdelrec(), agdictof(), agfindnode_by_name(), agidnode(), aginit(), aginitcb(), agnode(), agnodebefore(), agraphof(), agrelabel_node(), agrename(), agroot(), agupdcb(), attach_attrs_and_arrows(), attached_clustering(), cccomps(), convert_edge_labels_to_nodes(), Dot_SetClusterColor(), dotneato_args_initialize(), fdp_init_node_edge(), firstattr(), getObjId(), getv(), graph_init(), gvContext(), gvContextPlugins(), gvplugin_graph(), gvToolTred(), Import_coord_clusters_from_dot(), initDotIO(), listNodeAttrs(), main(), make_html_label(), make_label(), makeDotGraph(), nextattr(), obj2cmd(), setAttr(), setnodeattributes(), setv(), SparseMatrix_import_dot(), SparseMatrix_read_dot(), twopi_layout(), and virtual_node().
Definition at line 403 of file cgraph.h.
Referenced by agexpose(), aghide(), agopp(), and agsubedge().
#define AGOUT2IN | ( | e | ) | ((e)+1) |
Definition at line 402 of file cgraph.h.
Referenced by agdeledgeimage().
#define AGOUTEDGE 2 |
Definition at line 102 of file cgraph.h.
Referenced by agapply(), agbindrec(), agclean(), agdelete(), agdelrec(), agdictof(), aginit(), agnxtedge(), agraphof(), agrename(), agroot(), make_aux_edge(), new_virtual_edge(), and obj2cmd().
#define AGRAPH 0 /* can't exceed 2 bits. see Agtag_t. */ |
Definition at line 100 of file cgraph.h.
Referenced by agapply(), agbindrec(), agclean(), agclose(), agcontains(), agdelcb(), agdelete(), agdelrec(), agdictof(), agidsubg(), aginit(), aginitcb(), agopen(), agopen1(), agraphof(), agrename(), agroot(), agsubg(), agupdcb(), agxset(), attach_attrs_and_arrows(), cccomps(), circo_cleanup(), dotneato_args_initialize(), edge(), emit_graph(), fdp_initParams(), findedge(), firstattr(), getObjId(), getv(), graph_cleanup(), graphof(), gvplugin_graph(), headof(), init_nop(), listGraphAttrs(), main(), make_html_label(), make_label(), makeDotGraph(), nameof(), nextattr(), obj2cmd(), setAttr(), setgraphattributes(), setv(), tailof(), and tcldot_layout().
#define AGRIGHTPOINTER | ( | rep | ) | ((Agnoderef_t*)((rep)->seq_link.right?((void*)((rep)->seq_link.right) - offsetof(Agsubnode_t,seq_link)):0)) |
#define AGSEQ | ( | obj | ) | (AGTAG(obj).seq) |
Definition at line 115 of file cgraph.h.
Referenced by agedgeseqcmpf(), agnodebefore(), agopen1(), agraphseqcmpf(), agsubnodeseqcmpf(), circuit_model(), getObjId(), main(), and new_virtual_edge().
#define AGTAG | ( | obj | ) | (((Agobj_t*)(obj))->tag) |
Definition at line 112 of file cgraph.h.
Referenced by agdeledge(), and agsubedge().
Definition at line 406 of file cgraph.h.
Referenced by agnxtout(), agsplice(), agsubedge(), and agtail().
#define AGTYPE | ( | obj | ) | (AGTAG(obj).objtype) |
Definition at line 113 of file cgraph.h.
Referenced by agapply(), agcontains(), agcopyattr(), agdelcb(), agdeledgeimage(), agdelete(), agedgeidcmpf(), aginitcb(), agnameof(), agnxtedge(), agobjkind(), agopen(), agraphof(), agrename(), agroot(), agsafeset(), agsubedge(), agupdcb(), agxset(), edge(), findedge(), getv(), graphof(), headof(), make_aux_edge(), nameof(), new_virtual_edge(), obj2cmd(), setv(), tailof(), and virtual_node().
#define FALSE (0) |
Definition at line 35 of file cgraph.h.
Referenced by acyclic(), agassociate(), agattrrec(), agbindrec(), agcallbacks(), agcmpgraph_of(), agcmpnode_of(), agdatadict(), agdeledge(), agdelnode(), agdelrec(), agdictof(), agedge(), agexpose(), agfindhidden(), agfindnode_by_name(), agflatten(), aghide(), aginternalmapdelete(), aginternalmaplookup(), agnedges(), agnode(), agnodebefore(), agraphattr_delete(), agrecord_callback(), agrelabel_node(), agrename(), agsubg(), agwrite(), agxset(), arrowStartClip(), attached_clustering(), beginpath(), bezier_clip(), build_ranks(), call_tri(), call_tri2(), cat_libfile(), cccomps(), class2(), clip_and_install(), common_init_edge(), compoundEdges(), create_window1(), deQueue(), dijkstra_bounded(), dot_concentrate(), emit_clusters(), emit_once(), endpath(), enQueue(), enqueue_neighbors(), findStopColor(), flat_edges(), get_distance_matrix(), graphcmd(), gvconfig(), gvContext(), gvContextPlugins(), gvdevice_finalize(), gvjobs_output_langname(), gvplugin_list(), gvtextlayout(), gvusershape_file_access(), ideal_distance_matrix(), Import_coord_clusters_from_dot(), in_poly(), init_nop(), interclexp(), main(), make_html_label(), makeDotGraph(), makePortLabels(), mapbool(), mapBool(), mergeable(), modularity_clustering(), mq_clustering(), Multilevel_MQ_Clustering_init(), Multilevel_MQ_Clustering_new(), Multilevel_new(), neato_layout(), neato_set_aspect(), new_spline(), node_in_subg(), nonconstraint_edge(), on_button1_button_press_event(), on_drawingarea1_button_press_event(), on_drawingarea1_button_release_event(), on_drawingarea1_configure_event(), on_drawingarea1_expose_event(), on_drawingarea1_motion_notify_event(), on_drawingarea1_scroll_event(), on_drawingarea2_expose_event(), on_drawingarea2_motion_notify_event(), on_window1_delete_event(), Operator_matmul_apply(), Operator_uniform_stress_matmul_apply(), overlap_edge(), overlap_node(), parse_style(), pccomps(), portcmp(), ports_eq(), post_process_smoothing(), power_law_graph(), processClusterEdges(), QuadTree_get_nearest(), round_corners(), safefile(), SparseMatrix_connectedQ(), SparseMatrix_distance_matrix(), SparseMatrix_distance_matrix_k_centers(), SparseMatrix_distance_matrix_khops(), SparseMatrix_has_diagonal(), SparseMatrix_import_dot(), SparseMatrix_is_symmetric(), SparseMatrix_k_centers(), SparseMatrix_k_centers_user(), SparseMatrix_make_undirected(), SparseMatrix_page_rank(), SparseMatrix_pseudo_diameter_only(), SparseMatrix_pseudo_diameter_unweighted(), SparseMatrix_pseudo_diameter_weighted(), SparseMatrix_to_square_matrix(), SparseMatrix_weakly_connected_components(), SparseStressMajorizationSmoother_new(), spring_electrical_control_new(), spring_electrical_embedding(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), spring_maxent_embedding(), SpringSmoother_new(), stress_majorization_kD_mkernel(), stress_model_core(), StressMajorizationSmoother2_new(), StressMajorizationSmoother_smooth(), strip_dir(), taper(), TriangleSmoother_new(), UG_graph(), uniform_stress(), UniformStressSmoother_new(), user_pos(), and xml_string().
#define FIRSTINREF | ( | g, | |
sn | |||
) | (agflatten(g,1), (sn)->in_seq) |
#define FIRSTNREF | ( | g | ) | (agflatten(g,1), AGHEADPOINTER(g)) |
#define FIRSTOUTREF | ( | g, | |
sn | |||
) | (agflatten(g,1), (sn)->out_seq) |
#define LASTNREF | ( | g | ) | (agflatten(g,1), AGHEADPOINTER(g)?AGLEFTPOINTER(AGHEADPOINTER(g)):0) |
#define LASTOUTREF | ( | g, | |
sn | |||
) | (agflatten(g,1), (Agedgeref_t*)dtlast(sn->out_seq)) |
#define NEXTNREF | ( | g, | |
rep | |||
) | (AGRIGHTPOINTER(rep) == AGHEADPOINTER(g)?0:AGRIGHTPOINTER(rep)) |
#define NOT | ( | x | ) | (!(x)) |
Definition at line 41 of file cgraph.h.
Referenced by agcallbacks(), agcmpgraph_of(), agedge(), agexpose(), and agisundirected().
#define PREVNREF | ( | g, | |
rep | |||
) | (((rep)==AGHEADPOINTER(g))?0:(AGLEFTPOINTER(rep))) |
#define TRUE (!FALSE) |
Definition at line 38 of file cgraph.h.
Referenced by addEdgeLabels(), agbindrec(), agcallbacks(), agclean(), agcmpnode(), agedge(), agflatten(), aghide(), agidnode(), aginternalmapdelete(), aginternalmaplookup(), agnedges(), agnode(), agopen(), agrelabel_node(), agrename(), agsplice(), agsubg(), agwrite(), arrowEndClip(), attached_clustering(), average_edge_length(), beginpath(), bezier_clip(), build_ranks(), cat_libfile(), ccomps(), circomps(), class2(), clip_and_install(), common_init_edge(), create_window1(), deQueue(), dijkstra_bounded(), dot_mincross(), dotneato_args_initialize(), emit_clusters(), emit_once(), endpath(), enQueue(), enqueue_neighbors(), fdp_init_node_edge(), findCComp(), findStopColor(), flat_edge(), flat_edges(), graph_init(), graphcmd(), gvconfig(), gvContext(), gvdevice_finalize(), gvFreeLayout(), gvjobs_output_langname(), gvLayoutJobs(), gvplugin_install(), gvplugin_list(), gvprintpointflist(), gvRenderContext(), gvToolTred(), gvusershape_file_access(), Import_coord_clusters_from_dot(), in_poly(), initDotIO(), initMapData(), iterativePCA_1D(), main(), make_label(), makeDotGraph(), makeGraphs(), makePortLabels(), mapBool(), mergeable(), Multilevel_control_new(), Multilevel_MQ_Clustering_new(), Multilevel_new(), ncross(), neato_init_node(), neato_layout(), node_in_subg(), nonconstraint_edge(), on_drawingarea1_configure_event(), on_drawingarea1_expose_event(), on_drawingarea2_expose_event(), osage_layout(), overlap_edge(), parse_style(), PCA_alloc(), pccomps(), place_graph_label(), place_portlabel(), Pobspath(), post_process_smoothing(), power_law_graph(), processClusterEdges(), QuadTree_get_nearest(), safefile(), sizeArray(), SparseMatrix_complement(), SparseMatrix_connectedQ(), SparseMatrix_distance_matrix(), SparseMatrix_distance_matrix_khops(), SparseMatrix_get_real_adjacency_matrix_symmetrized(), SparseMatrix_has_diagonal(), SparseMatrix_import_dot(), SparseMatrix_is_symmetric(), SparseMatrix_k_centers(), SparseMatrix_k_centers_user(), SparseMatrix_pseudo_diameter_unweighted(), SparseMatrix_pseudo_diameter_weighted(), SparseMatrix_read_dot(), SparseMatrix_to_square_matrix(), SparseMatrix_weakly_connected_components(), spline_edges(), spring_electrical_control_new(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), spring_maxent_embedding(), stress_model_core(), StringVector_part(), strip_dir(), taper(), UG_graph(), undoClusterEdges(), uniform_stress(), user_pos(), vector_median(), and vector_percentile().
typedef struct Agcbdisc_s Agcbdisc_t |
typedef struct Agcbstack_s Agcbstack_t |
typedef struct Agdatadict_s Agdatadict_t |
typedef struct Agdstate_s Agdstate_t |
typedef struct Agedgepair_s Agedgepair_t |
typedef Dtlink_t Agedgeref_t |
typedef struct Agiddisc_s Agiddisc_t |
typedef struct Agiodisc_s Agiodisc_t |
typedef struct Agmemdisc_s Agmemdisc_t |
typedef Agsubnode_t Agnoderef_t |
typedef struct Agsubnode_s Agsubnode_t |
enum agerrlevel_t |
CGRAPH_API void* agalloc | ( | Agraph_t * | g, |
size_t | size | ||
) |
Definition at line 62 of file mem.c.
References AGCLOS, AGDISC, agerr(), AGERR, and NIL.
Referenced by agbindrec(), agdictobjmem(), agnewsym(), agrealloc(), agstrdup(), and agstrdup_html().
CGRAPH_API Agsym_t* agattr | ( | Agraph_t * | g, |
int | kind, | ||
char * | name, | ||
char * | value | ||
) |
Definition at line 324 of file attr.c.
References agopen().
Referenced by agsafeset(), assign_random_edge_color(), attach_edge_colors(), attached_clustering(), convert_edge_labels_to_nodes(), dot_sameports(), Dot_SetClusterColor(), dotneato_args_initialize(), emit_graph(), fdp_init_node_edge(), fdp_initParams(), getv(), graph_init(), gvContext(), gvContextPlugins(), gvplugin_graph(), Import_coord_clusters_from_dot(), Import_dot_splines(), init_nop(), main(), makeDotGraph(), safe_dcl(), scan_graph_mode(), setAttr(), setedgeattributes(), setgraphattributes(), setnodeattributes(), setv(), SparseMatrix_import_dot(), tcldot_layout(), and twopi_layout().
CGRAPH_API Agsym_t* agattrsym | ( | void * | obj, |
char * | name | ||
) |
Definition at line 153 of file attr.c.
References agattrrec(), agdictsym(), Agattr_s::dict, and NILsym.
Referenced by agcopyattr(), agget(), and agset().
CGRAPH_API void* agbindrec | ( | void * | obj, |
char * | name, | ||
unsigned int | size, | ||
int | move_to_front | ||
) |
Definition at line 86 of file rec.c.
References agalloc(), aggetrec(), AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, agraphof(), agstrdup(), FALSE, Agrec_s::name, NIL, Agtag_s::objtype, Agobj_s::tag, and TRUE.
Referenced by agassociate(), aginit(), agrecord_callback(), cccomps(), ccomps(), checkLabelOrder(), circomps(), findCComp(), gvFreeLayout(), gvLayoutJobs(), makeGraphs(), neato_init_node(), pccomps(), processClusterEdges(), sizeArray(), and undoClusterEdges().
CGRAPH_API int agcallbacks | ( | Agraph_t * | g, |
int | flag | ||
) |
Definition at line 286 of file pend.c.
References Agclos_s::callbacks_enabled, Agraph_s::clos, FALSE, NOT, and TRUE.
Referenced by main().
CGRAPH_API char* agcanon | ( | char * | , |
int | |||
) |
CGRAPH_API char* agcanonStr | ( | char * | str | ) |
CGRAPH_API void agclean | ( | Agraph_t * | g, |
int | kind, | ||
char * | rec_name | ||
) |
Definition at line 238 of file rec.c.
References agapply(), agdelrec(), agfstnode(), agfstout(), AGINEDGE, AGNODE, agnxtnode(), agnxtout(), AGOUTEDGE, AGRAPH, and TRUE.
Referenced by cccomps(), circo_cleanup(), graph_cleanup(), and gvToolTred().
CGRAPH_API int agclose | ( | Agraph_t * | g | ) |
Definition at line 93 of file graph.c.
References AGCLOS, agclose(), agdelnode(), agdelsubg(), AGDISC, agdtclose(), agfree(), agfreeid(), agfstnode(), agfstsubg(), AGID, aginternalmapclose(), agmethod_delete(), agnxtnode(), agnxtsubg(), agparent(), agpopdisc(), AGRAPH, agraphattr_delete(), agrecclose(), agstrclose(), assert, Agclos_s::cb, Agraph_s::clos, Agraph_s::desc, dtsize(), Agraph_s::e_id, Agraph_s::e_seq, Agcbstack_s::f, FAILURE, Agmemdisc_s::free, Agraph_s::g_dict, Agdesc_s::has_attrs, Agraph_s::n_id, Agraph_s::n_seq, NILgraph, and SUCCESS.
Referenced by agclose(), agdelete(), cccomps(), checkLabelOrder(), deleteGraph(), layout_block(), main(), pccomps(), processClusterEdges(), rm(), switch(), and undoClusterEdges().
CGRAPH_API Agraph_t* agconcat | ( | Agraph_t * | g, |
void * | chan, | ||
Agdisc_t * | disc | ||
) |
Definition at line 2337 of file grammar.c.
References aagparse(), Ag_G_global, AgDefaultDisc, aglexbad(), aglexinit(), NILgraph, and yyparse().
Referenced by agread().
CGRAPH_API int agcontains | ( | Agraph_t * | , |
void * | |||
) |
Definition at line 245 of file obj.c.
References AGID, agidnode(), AGNODE, agparent(), AGRAPH, agroot(), agsubedge(), and AGTYPE.
Referenced by interclexp(), and twopi_layout().
CGRAPH_API int agcopyattr | ( | void * | oldobj, |
void * | newobj | ||
) |
Definition at line 535 of file attr.c.
References agattrsym(), aghtmlstr(), agmarkhtmlstr(), agnxtattr(), agraphof(), AGTYPE, agxget(), agxset(), and Agsym_s::name.
Definition at line 211 of file graph.c.
References agfstin(), agnxtin(), agsubrep(), Agraph_s::e_seq, Agsubnode_s::in_seq, Agedge_s::node, and Agsubnode_s::out_seq.
Definition at line 229 of file graph.c.
References agsubrep(), Agraph_s::e_seq, Agsubnode_s::in_seq, and Agsubnode_s::out_seq.
Referenced by agnedges().
CGRAPH_API int agdeledge | ( | Agraph_t * | g, |
Agedge_t * | arg_e | ||
) |
Definition at line 357 of file edge.c.
References agapply(), agdeledgeimage(), AGEDGE, agedgeattr_delete(), agfree(), agfreeid(), aghead(), AGID, agmethod_delete(), AGMKOUT, agrecclose(), agroot(), AGTAG, agtail(), Agraph_s::desc, FAILURE, FALSE, Agdesc_s::has_attrs, NILedge, and SUCCESS.
Referenced by agdelete(), and agdelnode().
CGRAPH_API int agdelete | ( | Agraph_t * | g, |
void * | obj | ||
) |
Definition at line 16 of file obj.c.
References agclose(), agdeledge(), agdelnode(), agerr(), AGERR, AGINEDGE, AGNODE, AGOUTEDGE, agparent(), AGRAPH, AGTYPE, FAILURE, and SUCCESS.
Referenced by cccomps(), deleteEdge(), deleteNode(), main(), mark_clusters(), neato_layout(), processClusterEdges(), rm(), scan_graph_mode(), sfdp_layout(), twopi_layout(), and undoClusterEdges().
CGRAPH_API int agdelnode | ( | Agraph_t * | g, |
Agnode_t * | arg_n | ||
) |
Definition at line 192 of file node.c.
References agapply(), agdeledge(), agdelnodeimage(), agfindnode_by_id(), agfree(), agfreeid(), agfstedge(), AGID, agmethod_delete(), AGNODE, agnodeattr_delete(), agnxtedge(), agrecclose(), agroot(), Agraph_s::desc, FAILURE, FALSE, Agdesc_s::has_attrs, NILnode, and SUCCESS.
Referenced by agclose(), agdelete(), and aghide().
CGRAPH_API int agdelrec | ( | void * | obj, |
char * | name | ||
) |
Definition at line 145 of file rec.c.
References agapply(), agfree(), aggetrec(), AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, agraphof(), agroot(), agstrfree(), FAILURE, FALSE, Agrec_s::name, Agtag_s::objtype, SUCCESS, and Agobj_s::tag.
Referenced by agclean(), agedgeattr_delete(), agnodeattr_delete(), agraphattr_delete(), gv_cleanup_edge(), gv_cleanup_node(), and neato_layout().
CGRAPH_API long agdelsubg | ( | Agraph_t * | g, |
Agraph_t * | sub | ||
) |
Definition at line 93 of file subg.c.
References dtdelete, and Agraph_s::g_dict.
Referenced by agclose(), aghide(), and deleteGraph().
CGRAPH_API Agedge_t* agedge | ( | Agraph_t * | g, |
Agnode_t * | t, | ||
Agnode_t * | h, | ||
char * | name, | ||
int | createflag | ||
) |
Definition at line 281 of file edge.c.
References AGEDGE, agisstrict(), agisundirected(), agmapnametoid(), agregister(), agroot(), FALSE, Agtag_s::id, NILedge, NILstr, NOT, Agtag_s::objtype, and TRUE.
Referenced by circomps(), convert_edge_labels_to_nodes(), edge(), graphcmd(), gvplugin_graph(), main(), makeDotGraph(), and nodecmd().
CGRAPH_API int agerr | ( | agerrlevel_t | level, |
const char * | fmt, | ||
... | |||
) |
Definition at line 141 of file agerror.c.
Referenced by aagerror(), agalloc(), agapply(), agdelete(), agdictof(), aggetrec(), agnotflat(), agraphof(), agrealloc(), agrecord_callback(), agroot(), build_ranks(), cat_libfile(), charsetToStr(), checkStart(), circleLayout(), compoundEdges(), conjugate_gradient(), conjugate_gradient_f(), conjugate_gradient_mkernel(), delaunay_tri(), delaunay_triangulation(), dot_concentrate(), dotneato_args_initialize(), edgeType(), emit_clusters(), epsf_init(), fdp_initParams(), findStopColor(), freeSurface(), get_triangles(), getsplinepoints(), gvconfig(), gvconfig_plugin_install_from_library(), gvLayout(), gvLayoutJobs(), gvloadimage(), gvNextInputGraph(), gvplugin_library_load(), gvPluginList(), gvprintf(), gvRender(), gvrender_set_style(), gvRenderContext(), gvRenderData(), gvRenderFilename(), gvRenderJobs(), gvusershape_file_access(), htmlEntityUTF8(), htmlerror(), htmllex(), init_nop(), init_xdot(), initHTMLlexer(), initial_positions(), install_in_rank(), make_label(), makeAddPoly(), makePoly(), makeSpline(), mark_clusters(), merge_oneway(), mkSurface(), neato_layout(), parse_style(), ps_string(), push_obj_state(), remove_overlap(), removeOverlapWith(), routesplinesinit(), safefile(), setAspect(), solve_model(), SparseMatrix_import_dot(), spline_edges0(), stress_majorization_kD_mkernel(), twopi_layout(), and user_pos().
CGRAPH_API void agerrorf | ( | const char * | fmt, |
... | |||
) |
Definition at line 152 of file agerror.c.
References AGERR.
Referenced by gvNEWcontext(), gvRender(), gvRenderContext(), gvRenderData(), and gvRenderFilename().
CGRAPH_API int agerrors | ( | void | ) |
Definition at line 170 of file agerror.c.
Referenced by gvFreeContext().
Definition at line 35 of file flatten.c.
References agflatten_edges(), agfstnode(), agnxtnode(), Agraph_s::desc, Dtlist, dtmethod(), Dtoset, FALSE, Agdesc_s::flatlock, Agraph_s::n_seq, and TRUE.
CGRAPH_API void agfree | ( | Agraph_t * | g, |
void * | ptr | ||
) |
Definition at line 89 of file mem.c.
References AGCLOS, and AGDISC.
Referenced by agclose(), agdeledge(), agdelnode(), agdelrec(), agdictobjfree(), agdictobjmem(), aginternalmapdelete(), agobjfinalize(), agpopdisc(), and agrecclose().
CGRAPH_API Agedge_t* agfstedge | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 86 of file edge.c.
References agfstin(), agfstout(), and NILedge.
Referenced by agdelnode(), agdelnodeimage(), agexpose(), aghide(), assign_random_edge_color(), circuit_model(), convert_edge_labels_to_nodes(), dot_sameports(), firstedge(), interclexp(), nodecmd(), and s1().
CGRAPH_API Agedge_t* agfstin | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 56 of file edge.c.
References agsubrep(), dtextract(), dtfirst, dtrestore(), Agraph_s::e_seq, Agsubnode_s::in_seq, and NILedge.
Referenced by agcountuniqedges(), agdeledgeimage(), agfstedge(), agnxtedge(), firstin(), firsttail(), nextin(), and nodecmd().
CGRAPH_API Agnode_t* agfstnode | ( | Agraph_t * | g | ) |
Definition at line 38 of file node.c.
References dtfirst, Agraph_s::n_seq, NILnode, and Agsubnode_s::node.
Referenced by agclean(), agclose(), agexpose(), agflatten(), aghide(), aginit(), agnedges(), allocate_ranks(), assign_random_edge_color(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), build_skeleton(), cAdjust(), cccomps(), ccomps(), circleLayout(), circo_cleanup(), circo_layout(), circomps(), circuit_model(), circularLayout(), class1(), class2(), compoundEdges(), compute_bb(), convert_edge_labels_to_nodes(), countDummyNodes(), createBlocktree(), decompose(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dot_sameports(), dot_scan_ranks(), Dot_SetClusterColor(), dumpstat(), emit_clusters(), emit_graph(), fdp_cleanup(), fdp_init_node_edge(), fdp_layout(), fdp_tLayout(), findCComp(), firstin(), firstnode(), firstout(), getSizes(), graphcmd(), gvToolTred(), Import_coord_clusters_from_dot(), Import_dot_splines(), init_nop(), init_UF_size(), initEdgeTypes(), interclexp(), isConnected(), main(), makeDotGraph(), makeMatrix(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_set_aspect(), neato_translate(), node_induce(), normalize(), osage_cleanup(), osage_layout(), patchwork_cleanup(), pccomps(), processClusterEdges(), rank3(), scAdjust(), scan_graph_mode(), sfdp_cleanup(), shiftGraphs(), shortest_path(), SparseMatrix_import_dot(), spline_edges(), splineEdges(), twopi_cleanup(), twopi_layout(), undoClusterEdges(), and write_plain().
CGRAPH_API Agedge_t* agfstout | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 25 of file edge.c.
References agsubrep(), dtextract(), dtfirst, dtrestore(), Agraph_s::e_seq, NILedge, and Agsubnode_s::out_seq.
Referenced by agclean(), agdeledgeimage(), agfstedge(), aginit(), allocate_ranks(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), build_skeleton(), circo_cleanup(), circomps(), class1(), class2(), compoundEdges(), compute_bb(), countDummyNodes(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dumpstat(), emit_clusters(), fdp_cleanup(), fdp_init_node_edge(), firsthead(), firstout(), graphcmd(), Import_coord_clusters_from_dot(), Import_dot_splines(), main(), makeMatrix(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_translate(), nextout(), node_induce(), nodecmd(), normalize(), patchwork_cleanup(), processClusterEdges(), sfdp_cleanup(), shiftGraphs(), SparseMatrix_import_dot(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().
CGRAPH_API Agraph_t* agfstsubg | ( | Agraph_t * | g | ) |
Definition at line 72 of file subg.c.
References dtfirst, and Agraph_s::g_dict.
Referenced by agclose(), aginit(), deleteGraph(), findCComp(), firstsubg(), graphcmd(), Import_coord_clusters_from_dot(), node_in_subg(), and rm().
CGRAPH_API char* agget | ( | void * | obj, |
char * | name | ||
) |
Definition at line 428 of file attr.c.
References agattrrec(), agattrsym(), Agsym_s::id, NILsym, and Agattr_s::str.
Referenced by adjustNodes(), agwrite(), attach_attrs_and_arrows(), bind_shape(), circularLayout(), common_init_edge(), do_graph_label(), dot_mincross(), dot_rank(), emit_clusters(), emit_html_label(), epsf_init(), esepFactor(), fdp_xLayout(), getdouble(), getObjId(), getPack(), getPackModeInfo(), graph_init(), graphAdjustMode(), gvLayoutJobs(), gvrender_begin_graph(), Import_coord_clusters_from_dot(), init_nop(), init_xdot(), neato_layout(), putGraphs(), rank(), rank1(), scan_graph_mode(), sepFactor(), setAspect(), setEdgeType(), setSeed(), SparseMatrix_import_dot(), twopi_layout(), and write_plain().
CGRAPH_API Agrec_t* aggetrec | ( | void * | obj, |
char * | name, | ||
int | move_to_front | ||
) |
Definition at line 34 of file rec.c.
References agerr(), AGERR, Agobj_s::data, Agtag_s::mtflock, Agrec_s::name, Agrec_s::next, NIL, streq, and Agobj_s::tag.
Referenced by agattrrec(), agbindrec(), agcmpgraph_of(), agcmpnode_of(), agdatadict(), agdelrec(), agexpose(), agfindhidden(), aghide(), graphcmd(), and mapClust().
CGRAPH_API struct _vmalloc_s* agheap | ( | Agraph_t * | g | ) |
CGRAPH_API int aghtmlstr | ( | char * | ) |
Definition at line 178 of file refstr.c.
References NULL, and refstr_t::refcnt.
Referenced by agcopyattr(), agstrcanon(), common_init_edge(), common_init_node(), and do_graph_label().
CGRAPH_API Agedge_t* agidedge | ( | Agraph_t * | g, |
Agnode_t * | t, | ||
Agnode_t * | h, | ||
IDTYPE | id, | ||
int | createflag | ||
) |
Definition at line 259 of file edge.c.
References agallocid(), AGEDGE, agisundirected(), agroot(), and NILedge.
CGRAPH_API Agnode_t* agidnode | ( | Agraph_t * | g, |
IDTYPE | id, | ||
int | createflag | ||
) |
Definition at line 119 of file node.c.
References agallocid(), agfindnode_by_id(), agnextseq(), AGNODE, agroot(), agsubnode(), NILnode, and TRUE.
Referenced by agcontains().
CGRAPH_API Agraph_t* agidsubg | ( | Agraph_t * | g, |
IDTYPE | id, | ||
int | cflag | ||
) |
Definition at line 43 of file subg.c.
References agallocid(), AGRAPH, and NILgraph.
Referenced by agrename().
CGRAPH_API void aginit | ( | Agraph_t * | g, |
int | kind, | ||
char * | rec_name, | ||
int | rec_size, | ||
int | move_to_front | ||
) |
Definition at line 198 of file rec.c.
References agbindrec(), agfstnode(), agfstout(), agfstsubg(), AGINEDGE, aginit(), AGNODE, agnxtnode(), agnxtout(), agnxtsubg(), AGOUTEDGE, AGRAPH, and int.
Referenced by aginit(), cccomps(), fdp_init_node_edge(), gvToolTred(), initDotIO(), and SparseMatrix_read_dot().
CGRAPH_API void aginternalmapclearlocalnames | ( | Agraph_t * | g | ) |
Definition at line 181 of file imap.c.
References Ag_G_global, aginternalmapdelete(), Agraph_s::clos, dtfirst, dtnext, IMapEntry_s::id, LOCALNAMEPREFIX, Agclos_s::lookup_by_name, and IMapEntry_s::str.
CGRAPH_API int agisdirected | ( | Agraph_t * | g | ) |
Definition at line 182 of file graph.c.
References Agraph_s::desc, and Agdesc_s::directed.
Referenced by agisundirected(), arrow_flags(), edgecmd(), gvToolTred(), make_label(), and tcldot_layout().
CGRAPH_API int agissimple | ( | Agraph_t * | g | ) |
Definition at line 197 of file graph.c.
References Agraph_s::desc, Agdesc_s::no_loop, and Agdesc_s::strict.
CGRAPH_API int agisstrict | ( | Agraph_t * | g | ) |
Definition at line 192 of file graph.c.
References Agraph_s::desc, and Agdesc_s::strict.
Referenced by agedge().
CGRAPH_API int agisundirected | ( | Agraph_t * | g | ) |
Definition at line 187 of file graph.c.
References agisdirected(), and NOT.
Referenced by agedge(), and agidedge().
CGRAPH_API char* aglasterr | ( | void | ) |
CGRAPH_API Agnode_t* aglstnode | ( | Agraph_t * | g | ) |
Definition at line 53 of file node.c.
References dtlast, Agraph_s::n_seq, NILnode, and Agsubnode_s::node.
Referenced by graphcmd().
CGRAPH_API Agraph_t* agmemread | ( | const char * | cp | ) |
Definition at line 131 of file io.c.
References AgIdDisc, AgMemDisc, agread(), agsetfile(), rdr_t::cur, rdr_t::data, Agiodisc_s::flush, Agdisc_s::id, Agdisc_s::io, rdr_t::len, Agdisc_s::mem, NULL, and Agiodisc_s::putstr.
Referenced by readstring().
CGRAPH_API char* agnameof | ( | void * | ) |
Definition at line 143 of file id.c.
References AGCLOS, AGDISC, AGEDGE, AGID, aginternalmapprint(), agraphof(), AGTYPE, and LOCALNAMEPREFIX.
Referenced by addGrid(), cccomps(), circleLayout(), circomps(), convert_edge_labels_to_nodes(), dumpstat(), edgecmd(), emit_clusters(), epsf_init(), fdp_initParams(), findCComp(), getsplinepoints(), graphcmd(), gvToolTred(), htmlEntityUTF8(), Import_coord_clusters_from_dot(), init_nop(), init_xdot(), install_in_rank(), is_a_cluster(), is_cluster(), main(), make_label(), makeSpline(), mark_clusters(), move_node(), nameof(), node_position(), nodecmd(), pr2graphs(), printNodeset(), removeOverlapWith(), rm(), scan_graph_mode(), solve_model(), SparseMatrix_import_dot(), twopi_layout(), user_pos(), and write_plain().
CGRAPH_API int agnedges | ( | Agraph_t * | g | ) |
Definition at line 167 of file graph.c.
References agdegree(), agfstnode(), agnxtnode(), FALSE, and TRUE.
Referenced by attached_clustering(), cccomps(), convert_edge_labels_to_nodes(), graphcmd(), Import_coord_clusters_from_dot(), Import_dot_splines(), main(), makeMatrix(), scan_graph_mode(), and SparseMatrix_import_dot().
CGRAPH_API int agnnodes | ( | Agraph_t * | g | ) |
Definition at line 162 of file graph.c.
References dtsize(), and Agraph_s::n_id.
Referenced by attached_clustering(), blockSize(), cAdjust(), cccomps(), ccomps(), checkLabelOrder(), circleLayout(), circo_layout(), circoLayout(), circularLayout(), compoundEdges(), compute_bb(), convert_edge_labels_to_nodes(), dot_layout(), fdp_init_node_edge(), fdp_tLayout(), findCComp(), getSizes(), graphcmd(), Import_coord_clusters_from_dot(), isConnected(), main(), makeMatrix(), patchwork_layout(), pccomps(), rank1(), removeOverlapAs(), removeOverlapWith(), scAdjust(), scan_graph_mode(), sfdp_layout(), SparseMatrix_import_dot(), and twopi_layout().
CGRAPH_API Agnode_t* agnode | ( | Agraph_t * | g, |
char * | name, | ||
int | createflag | ||
) |
Definition at line 142 of file node.c.
References agfindnode_by_id(), agmapnametoid(), agnextseq(), AGNODE, agregister(), agroot(), agsubnode(), agsubrep(), assert, FALSE, NILnode, and TRUE.
Referenced by agcmpnode(), checkLabelOrder(), findnode(), graphcmd(), gvplugin_graph(), main(), makeGraphs(), and node().
CGRAPH_API int agnodebefore | ( | Agnode_t * | u, |
Agnode_t * | v | ||
) |
Definition at line 353 of file node.c.
References agapply(), AGNODE, agnoderenew(), agnodesetfinger(), agprvnode(), agroot(), AGSEQ, Agraph_s::clos, FAILURE, FALSE, Agclos_s::seq, and SUCCESS.
Referenced by main().
CGRAPH_API int agnsubg | ( | Agraph_t * | g | ) |
Definition at line 177 of file graph.c.
References dtsize(), and Agraph_s::g_dict.
CGRAPH_API Agsym_t* agnxtattr | ( | Agraph_t * | g, |
int | kind, | ||
Agsym_t * | attr | ||
) |
Definition at line 340 of file attr.c.
References agdictof(), dtfirst, and dtnext.
Referenced by agcopyattr(), firstattr(), listEdgeAttrs(), listGraphAttrs(), listNodeAttrs(), main(), and nextattr().
CGRAPH_API Agedge_t* agnxtedge | ( | Agraph_t * | g, |
Agedge_t * | e, | ||
Agnode_t * | n | ||
) |
Definition at line 95 of file edge.c.
References agfstin(), agnxtin(), agnxtout(), AGOUTEDGE, AGTYPE, NILedge, and Agedge_s::node.
Referenced by agdelnode(), agdelnodeimage(), agexpose(), aghide(), assign_random_edge_color(), circuit_model(), convert_edge_labels_to_nodes(), dot_sameports(), interclexp(), nextedge(), nodecmd(), and s1().
CGRAPH_API Agedge_t* agnxtin | ( | Agraph_t * | g, |
Agedge_t * | e | ||
) |
Definition at line 70 of file edge.c.
References AGHEAD, agsubrep(), dtextract(), dtnext, dtrestore(), Agraph_s::e_seq, Agsubnode_s::in_seq, and NILedge.
Referenced by agcountuniqedges(), agdeledgeimage(), agnxtedge(), nextin(), nexttail(), and nodecmd().
CGRAPH_API Agnode_t* agnxtnode | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 45 of file node.c.
References agsubrep(), dtnext, Agraph_s::n_seq, NILnode, and Agsubnode_s::node.
Referenced by agclean(), agclose(), agexpose(), agflatten(), aghide(), aginit(), agnedges(), allocate_ranks(), assign_random_edge_color(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), build_skeleton(), cAdjust(), cccomps(), ccomps(), circo_cleanup(), circomps(), circuit_model(), class1(), class2(), compoundEdges(), compute_bb(), convert_edge_labels_to_nodes(), countDummyNodes(), createBlocktree(), decompose(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dot_sameports(), dot_scan_ranks(), Dot_SetClusterColor(), dumpstat(), emit_clusters(), emit_graph(), fdp_cleanup(), fdp_init_node_edge(), fdp_tLayout(), findCComp(), firstout(), getSizes(), graphcmd(), gvToolTred(), Import_coord_clusters_from_dot(), Import_dot_splines(), init_nop(), init_UF_size(), initEdgeTypes(), interclexp(), isConnected(), main(), makeDotGraph(), makeMatrix(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_set_aspect(), neato_translate(), nextin(), nextnode(), nextout(), node_induce(), normalize(), osage_cleanup(), osage_layout(), patchwork_cleanup(), pccomps(), processClusterEdges(), rank3(), scAdjust(), scan_graph_mode(), sfdp_cleanup(), shiftGraphs(), shortest_path(), SparseMatrix_import_dot(), spline_edges(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().
CGRAPH_API Agedge_t* agnxtout | ( | Agraph_t * | g, |
Agedge_t * | e | ||
) |
Definition at line 40 of file edge.c.
References agsubrep(), AGTAIL, dtextract(), dtnext, dtrestore(), Agraph_s::e_seq, NILedge, and Agsubnode_s::out_seq.
Referenced by agclean(), agdeledgeimage(), aginit(), agnxtedge(), allocate_ranks(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), build_skeleton(), circo_cleanup(), circomps(), class1(), class2(), compoundEdges(), compute_bb(), countDummyNodes(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dumpstat(), emit_clusters(), fdp_cleanup(), fdp_init_node_edge(), graphcmd(), Import_coord_clusters_from_dot(), Import_dot_splines(), main(), makeMatrix(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_translate(), nexthead(), nextout(), node_induce(), nodecmd(), patchwork_cleanup(), processClusterEdges(), sfdp_cleanup(), shiftGraphs(), SparseMatrix_import_dot(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().
CGRAPH_API Agraph_t* agnxtsubg | ( | Agraph_t * | subg | ) |
Definition at line 77 of file subg.c.
References agparent(), dtnext, and Agraph_s::g_dict.
Referenced by agclose(), aginit(), deleteGraph(), findCComp(), graphcmd(), Import_coord_clusters_from_dot(), nextsubg(), node_in_subg(), and rm().
CGRAPH_API int agobjkind | ( | void * | ) |
Definition at line 264 of file obj.c.
References AGTYPE.
Referenced by getObjId(), make_html_label(), make_label(), and setAttr().
CGRAPH_API Agraph_t* agopen | ( | char * | name, |
Agdesc_t | desc, | ||
Agdisc_t * | disc | ||
) |
Definition at line 44 of file graph.c.
References AGID, agmapnametoid(), agopen1(), AGRAPH, agregister(), AGTYPE, Agmemdisc_s::alloc, Agraph_s::clos, Agraph_s::desc, Agclos_s::disc, Agdisc_s::id, Agdstate_s::id, Agdesc_s::maingraph, Agdisc_s::mem, Agdstate_s::mem, Agiddisc_s::open, Agraph_s::root, Agclos_s::state, and TRUE.
Referenced by agattr(), checkLabelOrder(), circomps(), convert_edge_labels_to_nodes(), digraph(), graph(), gvplugin_graph(), main(), makeDotGraph(), sizeArray(), strictdigraph(), and strictgraph().
CGRAPH_API Agraph_t* agparent | ( | Agraph_t * | g | ) |
Definition at line 85 of file subg.c.
References Agraph_s::parent.
Referenced by agclose(), agcontains(), agdelete(), agexpose(), aghide(), agnxtsubg(), agopen1(), agraphattr_init(), agrename(), agsubnode(), and rm().
CGRAPH_API int agpopdisc | ( | Agraph_t * | g, |
Agcbdisc_t * | disc | ||
) |
Definition at line 213 of file obj.c.
References agfree(), Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, FAILURE, Agcbstack_s::prev, and SUCCESS.
Referenced by agclose().
CGRAPH_API Agnode_t* agprvnode | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 60 of file node.c.
References agsubrep(), dtprev, Agraph_s::n_seq, NILnode, and Agsubnode_s::node.
Referenced by agnodebefore(), and graphcmd().
CGRAPH_API void agpushdisc | ( | Agraph_t * | g, |
Agcbdisc_t * | disc, | ||
void * | state | ||
) |
Definition at line 202 of file obj.c.
References AGNEW, Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, Agcbstack_s::prev, and Agcbstack_s::state.
Referenced by main().
CGRAPH_API Agraph_t* agraphof | ( | void * | obj | ) |
Definition at line 185 of file obj.c.
References agerr(), AGERR, AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, AGTYPE, and NILgraph.
Referenced by addEdgeLabels(), agbindrec(), agcopyattr(), agdelrec(), agexpose(), aghide(), agnameof(), agrecclose(), agrelabel_node(), agrename(), agsafeset(), agsplice(), agxset(), arrow_flags(), beginpath(), clip_and_install(), common_init_edge(), common_init_node(), edge(), edgecmd(), endpath(), findedge(), firstattr(), firstedge(), firsthead(), firstin(), firstout(), firsttail(), getv(), graphcmd(), graphof(), make_html_label(), make_label(), makePortLabels(), makeSelfArcs(), neato_init_node(), nextattr(), nextedge(), nexthead(), nextin(), nextout(), nexttail(), nodecmd(), rm(), selfRightSpace(), setv(), and write_plain().
CGRAPH_API Agraph_t* agread | ( | void * | chan, |
Agdisc_t * | disc | ||
) |
Definition at line 2349 of file grammar.c.
References agconcat(), and NILgraph.
Referenced by agmemread(), gvNextInputGraph(), main(), read(), and SparseMatrix_read_dot().
CGRAPH_API void agreadline | ( | int | ) |
CGRAPH_API void* agrealloc | ( | Agraph_t * | g, |
void * | ptr, | ||
size_t | oldsize, | ||
size_t | size | ||
) |
CGRAPH_API int agrelabel | ( | void * | obj, |
char * | name | ||
) |
CGRAPH_API int agrelabel_node | ( | Agnode_t * | n, |
char * | newname | ||
) |
Definition at line 231 of file node.c.
References agapply(), agfindnode_by_id(), agfindnode_by_name(), agfreeid(), AGID, agmapnametoid(), AGNODE, agraphof(), agroot(), FAILURE, FALSE, NILnode, SUCCESS, and TRUE.
Referenced by agrename().
CGRAPH_API int agreseterrors | ( | void | ) |
CGRAPH_API Agraph_t* agroot | ( | void * | obj | ) |
Definition at line 169 of file obj.c.
References agerr(), AGERR, AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, AGTYPE, and NILgraph.
Referenced by agcontains(), agdeledge(), agdelnode(), agdelrec(), agedge(), agexpose(), aghide(), agidedge(), agidnode(), agnode(), agnodebefore(), agopen1(), agrelabel_node(), agrename(), agsplice(), agsubnode(), circo_cleanup(), deleteGraph(), do_graph_label(), dot_root(), edgecmd(), firstattr(), getv(), graphcmd(), graphof(), gvLayoutJobs(), make_label(), nextattr(), nodecmd(), place_graph_label(), rm(), rootof(), setedgeattributes(), setgraphattributes(), setnodeattributes(), setv(), and virtual_node().
CGRAPH_API int agsafeset | ( | void * | obj, |
char * | name, | ||
char * | value, | ||
char * | def | ||
) |
Definition at line 497 of file attr.c.
References agattr(), agraphof(), AGTYPE, and agxset().
Referenced by gvLayout().
CGRAPH_API int agset | ( | void * | obj, |
char * | name, | ||
char * | value | ||
) |
Definition at line 455 of file attr.c.
References agattrsym(), agxset(), FAILURE, and NILsym.
Referenced by attach_attrs_and_arrows(), convert_edge_labels_to_nodes(), setSeed(), and twopi_layout().
CGRAPH_API agerrlevel_t agseterr | ( | agerrlevel_t | ) |
Definition at line 34 of file agerror.c.
Referenced by dotneato_args_initialize().
CGRAPH_API agusererrf agseterrf | ( | agusererrf | ) |
CGRAPH_API void agsetfile | ( | char * | ) |
Definition at line 573 of file scan.c.
Referenced by agmemread(), and gvNextInputGraph().
CGRAPH_API char* agstrbind | ( | Agraph_t * | g, |
char * | |||
) |
Definition at line 92 of file refstr.c.
Referenced by aginternalmaplookup().
CGRAPH_API char* agstrcanon | ( | char * | , |
char * | |||
) |
CGRAPH_API char* agstrdup | ( | Agraph_t * | , |
char * | |||
) |
Definition at line 97 of file refstr.c.
References agalloc(), dtinsert, NIL, refstr_t::refcnt, refstr_t::s, and refstr_t::store.
Referenced by agbindrec(), aginternalmapinsert(), agnewsym(), agxset(), and while().
CGRAPH_API char* agstrdup_html | ( | Agraph_t * | , |
char * | |||
) |
Definition at line 123 of file refstr.c.
References agalloc(), dtinsert, NIL, refstr_t::refcnt, refstr_t::s, and refstr_t::store.
CGRAPH_API int agstrfree | ( | Agraph_t * | , |
char * | |||
) |
Definition at line 149 of file refstr.c.
References agdtdelete(), FAILURE, NIL, refstr_t::refcnt, refstr_t::s, and SUCCESS.
Referenced by agdelrec(), aginternalmapdelete(), agrecclose(), and agxset().
CGRAPH_API Agedge_t* agsubedge | ( | Agraph_t * | g, |
Agedge_t * | e, | ||
int | createflag | ||
) |
Definition at line 378 of file edge.c.
References AGHEAD, AGID, AGOPP, agsubnode(), AGTAG, AGTAIL, AGTYPE, and NILedge.
Referenced by agcontains(), aghide(), circomps(), and node_induce().
CGRAPH_API Agraph_t* agsubg | ( | Agraph_t * | g, |
char * | name, | ||
int | cflag | ||
) |
Definition at line 52 of file subg.c.
References agmapnametoid(), AGRAPH, agregister(), FALSE, NILgraph, and TRUE.
Referenced by agcmpnode(), cccomps(), ccomps(), findCComp(), findsubg(), graph(), graphcmd(), gvplugin_graph(), pccomps(), processClusterEdges(), and undoClusterEdges().
CGRAPH_API Agnode_t* agsubnode | ( | Agraph_t * | g, |
Agnode_t * | n, | ||
int | createflag | ||
) |
Definition at line 254 of file node.c.
References agfindnode_by_id(), AGID, agparent(), agroot(), agsubnode(), NILnode, and Agnode_s::root.
Referenced by agassociate(), agexpose(), aghide(), agidnode(), agnode(), agsubedge(), agsubnode(), node_in_subg(), and node_induce().
CGRAPH_API Agsubnode_t* agsubrep | ( | Agraph_t * | g, |
Agnode_t * | n | ||
) |
Definition at line 157 of file edge.c.
References dtsearch, Agnode_s::mainsub, Agraph_s::n_id, Agsubnode_s::node, and Agnode_s::root.
Referenced by agcountuniqedges(), agdegree(), agdeledgeimage(), agflatten_edges(), agfstin(), agfstout(), agnode(), agnxtin(), agnxtnode(), agnxtout(), and agprvnode().
CGRAPH_API void agwarningf | ( | const char * | fmt, |
... | |||
) |
CGRAPH_API int agwrite | ( | Agraph_t * | g, |
void * | chan | ||
) |
CGRAPH_API char* agxget | ( | void * | obj, |
Agsym_t * | sym | ||
) |
Definition at line 444 of file attr.c.
References agattrrec(), assert, Agsym_s::id, and Agattr_s::str.
Referenced by agcopyattr(), arrow_flags(), attached_clustering(), common_init_edge(), common_init_node(), convert_edge_labels_to_nodes(), dot_sameports(), edgecmd(), graphcmd(), Import_coord_clusters_from_dot(), Import_dot_splines(), late_bool(), late_string(), main(), makeMatrix(), nodecmd(), nonconstraint_edge(), SparseMatrix_import_dot(), user_pos(), and write_plain().
CGRAPH_API int agxset | ( | void * | obj, |
Agsym_t * | sym, | ||
char * | value | ||
) |
Definition at line 468 of file attr.c.
References agattrrec(), agdatadict(), aglocaldictsym(), agmethod_upd(), agnewsym(), AGRAPH, agraphof(), agstrdup(), agstrfree(), AGTYPE, assert, Agsym_s::defval, Agdatadict_s::dict, dtinsert, FALSE, Agdatadict_s::g, Agsym_s::id, Agsym_s::name, Agtag_s::objtype, Agattr_s::str, SUCCESS, and Agobj_s::tag.
Referenced by agcopyattr(), agsafeset(), agset(), assign_random_edge_color(), attach_attrs_and_arrows(), attach_edge_colors(), attached_clustering(), Dot_SetClusterColor(), gvplugin_graph(), Import_coord_clusters_from_dot(), makeDotGraph(), setAttr(), tcldot_layout(), and twopi_layout().
CGRAPH_API Agdisc_t AgDefaultDisc |
Definition at line 201 of file cgraph.h.
Referenced by agconcat().
CGRAPH_API Agdesc_t Agdirected |
Definition at line 418 of file cgraph.h.
Referenced by digraph(), gvplugin_graph(), main(), and makeDotGraph().
CGRAPH_API Agiddisc_t AgIdDisc |
Definition at line 198 of file cgraph.h.
Referenced by agmemread().
CGRAPH_API Agiodisc_t AgIoDisc |
Definition at line 199 of file cgraph.h.
Referenced by Tcldot_Init().
CGRAPH_API Agmemdisc_t AgMemDisc |
Definition at line 197 of file cgraph.h.
Referenced by agmemread(), and Tcldot_Init().
CGRAPH_API Agdesc_t Agstrictdirected |
Definition at line 419 of file cgraph.h.
Referenced by checkLabelOrder(), sizeArray(), and strictdigraph().
CGRAPH_API Agdesc_t Agstrictundirected |
Definition at line 421 of file cgraph.h.
Referenced by circomps(), and strictgraph().
CGRAPH_API Agdesc_t Agundirected |
Definition at line 420 of file cgraph.h.
Referenced by graph(), and makeDotGraph().