Graphviz
2.41.20171026.1811
|
#include <cghdr.h>
Go to the source code of this file.
Functions | |
int | agdelete (Agraph_t *g, void *obj) |
int | agrename (Agobj_t *obj, char *newname) |
void | agmethod_init (Agraph_t *g, void *obj) |
void | aginitcb (Agraph_t *g, void *obj, Agcbstack_t *cbstack) |
void | agmethod_upd (Agraph_t *g, void *obj, Agsym_t *sym) |
void | agupdcb (Agraph_t *g, void *obj, Agsym_t *sym, Agcbstack_t *cbstack) |
void | agmethod_delete (Agraph_t *g, void *obj) |
void | agdelcb (Agraph_t *g, void *obj, Agcbstack_t *cbstack) |
Agraph_t * | agroot (void *obj) |
Agraph_t * | agraphof (void *obj) |
void | agpushdisc (Agraph_t *g, Agcbdisc_t *cbd, void *state) |
int | agpopdisc (Agraph_t *g, Agcbdisc_t *cbd) |
void * | aggetuserptr (Agraph_t *g, Agcbdisc_t *cbd) |
int | agcontains (Agraph_t *g, void *obj) |
int | agobjkind (void *arg) |
Definition at line 245 of file obj.c.
References AGID, agidnode(), AGNODE, agparent(), AGRAPH, agroot(), agsubedge(), and AGTYPE.
Referenced by interclexp(), and twopi_layout().
void agdelcb | ( | Agraph_t * | g, |
void * | obj, | ||
Agcbstack_t * | cbstack | ||
) |
Definition at line 146 of file obj.c.
References agdelcb(), AGEDGE, AGNODE, AGRAPH, AGTYPE, Agcbdisc_s::del, Agcbdisc_s::edge, Agcbstack_s::f, Agcbdisc_s::graph, NIL, Agcbdisc_s::node, Agcbstack_s::prev, and Agcbstack_s::state.
Referenced by agdelcb(), and agmethod_delete().
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().
void* aggetuserptr | ( | Agraph_t * | g, |
Agcbdisc_t * | cbd | ||
) |
Definition at line 235 of file obj.c.
References Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, NIL, Agcbstack_s::prev, and Agcbstack_s::state.
void aginitcb | ( | Agraph_t * | g, |
void * | obj, | ||
Agcbstack_t * | cbstack | ||
) |
Definition at line 84 of file obj.c.
References AGEDGE, aginitcb(), AGNODE, AGRAPH, AGTYPE, Agcbdisc_s::edge, Agcbstack_s::f, Agcbdisc_s::graph, Agcbdisc_s::ins, NIL, Agcbdisc_s::node, Agcbstack_s::prev, and Agcbstack_s::state.
Referenced by aginitcb(), and agmethod_init().
void agmethod_delete | ( | Agraph_t * | g, |
void * | obj | ||
) |
Definition at line 138 of file obj.c.
References agdelcb(), agrecord_callback(), Agclos_s::callbacks_enabled, Agclos_s::cb, CB_DELETION, Agraph_s::clos, and NILsym.
Referenced by agclose(), agdeledge(), and agdelnode().
void agmethod_init | ( | Agraph_t * | g, |
void * | obj | ||
) |
Definition at line 76 of file obj.c.
References aginitcb(), agrecord_callback(), Agclos_s::callbacks_enabled, Agclos_s::cb, CB_INITIALIZE, Agraph_s::clos, and NILsym.
Referenced by agopen1().
Definition at line 107 of file obj.c.
References agrecord_callback(), agupdcb(), Agclos_s::callbacks_enabled, Agclos_s::cb, CB_UPDATE, and Agraph_s::clos.
Referenced by agxset().
int agobjkind | ( | void * | arg | ) |
Definition at line 264 of file obj.c.
References AGTYPE.
Referenced by getObjId(), make_html_label(), make_label(), and setAttr().
int agpopdisc | ( | Agraph_t * | g, |
Agcbdisc_t * | cbd | ||
) |
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().
void agpushdisc | ( | Agraph_t * | g, |
Agcbdisc_t * | cbd, | ||
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().
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().
Definition at line 37 of file obj.c.
References agfreeid(), AGID, agidsubg(), AGINEDGE, agmapnametoid(), AGNODE, AGOUTEDGE, agparent(), AGRAPH, agraphof(), agrelabel_node(), agrename(), agroot(), AGTYPE, FAILURE, FALSE, SUCCESS, and TRUE.
Referenced by agrename().
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().
void agupdcb | ( | Agraph_t * | g, |
void * | obj, | ||
Agsym_t * | sym, | ||
Agcbstack_t * | cbstack | ||
) |
Definition at line 115 of file obj.c.
References AGEDGE, AGNODE, AGRAPH, AGTYPE, agupdcb(), Agcbdisc_s::edge, Agcbstack_s::f, Agcbdisc_s::graph, Agcbdisc_s::mod, NIL, Agcbdisc_s::node, Agcbstack_s::prev, and Agcbstack_s::state.
Referenced by agmethod_upd(), and agupdcb().