|
Graphviz
2.29.20120523.0446
|

Go to the source code of this file.
Defines | |
| #define | EXTERN |
Functions | |
| Agdict_t * | agdictof (void *obj) |
| Agsym_t * | agNEWsym (Agdict_t *dict, char *name, char *value) |
| Agsym_t * | agattr (void *obj, char *name, char *value) |
| Agraph_t * | agprotograph () |
| Agnode_t * | agprotonode (Agraph_t *g) |
| Agedge_t * | agprotoedge (Agraph_t *g) |
| Agsym_t * | agraphattr (Agraph_t *g, char *name, char *value) |
| Agsym_t * | agnodeattr (Agraph_t *g, char *name, char *value) |
| Agsym_t * | agedgeattr (Agraph_t *g, char *name, char *value) |
| void | agFREEdict (Agraph_t *g, Agdict_t *dict) |
| Agdict_t * | agNEWdict (char *name) |
| void | agcopydict (Agdict_t *to_dict, Agdict_t *from_dict) |
| Agsym_t * | agfindattr (void *obj, char *name) |
| Agsym_t * | agfstattr (void *obj) |
| Agsym_t * | agnxtattr (void *obj, Agsym_t *a) |
| Agsym_t * | aglstattr (void *obj) |
| Agsym_t * | agprvattr (void *obj, Agsym_t *a) |
| int | aginitlib (int gs, int ns, int es) |
| char * | agget (void *obj, char *attr) |
| int | agset (void *obj, char *attr, char *value) |
| int | agindex (void *obj, char *name) |
| char * | agxget (void *obj, int index) |
| int | agxset (void *obj, int index, char *buf) |
| int | agsafeset (void *obj, char *name, char *value, char *def) |
| int | agcopyattr (void *oldobj, void *newobj) |
| Agsym_t* agattr | ( | void * | obj, |
| char * | name, | ||
| char * | value | ||
| ) |
Definition at line 129 of file attribs.c.
References agfindattr(), Agsym_t::value, agstrfree(), agstrdup(), agNEWsym(), agdictof(), TAG_OF, TAG_GRAPH, TAG_NODE, graph(), TAG_EDGE, and head.
Referenced by emit_graph(), dotneato_args_initialize(), setAttr(), dot_sameports(), fdp_init_node_edge(), init_info(), fdp_init_graph(), fdp_initParams(), agraphattr(), agnodeattr(), agedgeattr(), gvContext(), gvContextPlugins(), gvplugin_graph(), init_nop(), scan_graph_mode(), getv(), and setv().
| int agcopyattr | ( | void * | oldobj, |
| void * | newobj | ||
| ) |
Definition at line 414 of file attribs.c.
References agdictof(), Agdict_t::list, TAG_OF, TAG_EDGE, Agsym_t::index, KEYX, agfindattr(), Agsym_t::name, agxset(), and agxget().
Definition at line 274 of file attribs.c.
References dtsize(), Agdict_t::dict, Agdict_t::list, agNEWsym(), Agsym_t::name, Agsym_t::value, Agsym_t::printed, and Agsym_t::fixed.
| Agdict_t* agdictof | ( | void * | obj | ) |
Definition at line 23 of file attribs.c.
References NULL, TAG_OF, TAG_GRAPH, TAG_NODE, and TAG_EDGE.
Referenced by agattr(), agfindattr(), agfstattr(), agnxtattr(), aglstattr(), agprvattr(), agcopyattr(), agFREEedge(), and agFREEnode().
Definition at line 216 of file attribs.c.
References NULL, AG, AG_s::proto_g, Agraph_t::root, agattr(), Agraph_t::proto, and Agproto_t::e.
Referenced by dotneato_args_initialize(), attach_attrs_and_arrows(), setAttr(), agsafeset(), main(), and setv().
| Agsym_t* agfindattr | ( | void * | obj, |
| char * | name | ||
| ) |
Definition at line 292 of file attribs.c.
References agdictof(), dtmatch, and Agdict_t::dict.
Referenced by emit_graph(), safe_dcl(), dot_sameports(), fdp_init_node_edge(), init_info(), fdp_init_graph(), fdp_initParams(), agattr(), agindex(), agsafeset(), agcopyattr(), getv(), setv(), and findattr().
Definition at line 236 of file attribs.c.
References dtclose(), Agdict_t::dict, Agdict_t::list, and free().
| Agsym_t* agfstattr | ( | void * | obj | ) |
Definition at line 301 of file attribs.c.
References agdictof(), dtfirst, and Agdict_t::dict.
| char* agget | ( | void * | obj, |
| char * | attr | ||
| ) |
Definition at line 345 of file attribs.c.
References agxget(), and agindex().
Referenced by init_xdot(), getObjId(), emit_clusters(), emit_html_label(), getdouble(), graph_init(), do_graph_label(), rank(), write_plain(), attach_attrs_and_arrows(), epsf_init(), bind_shape(), common_init_edge(), setEdgeType(), dot_layout(), dot_mincross(), rank1(), dot_rank(), fdp_xLayout(), agwrnode(), agwredge(), gvLayoutJobs(), gvrender_begin_graph(), normalize(), graphAdjustMode(), adjustNodes(), sepFactor(), esepFactor(), setSeed(), scan_graph_mode(), putGraphs(), getPackModeInfo(), getPack(), and twopi_layout().
| int agindex | ( | void * | obj, |
| char * | name | ||
| ) |
Definition at line 355 of file attribs.c.
References agfindattr(), and Agsym_t::index.
Referenced by agget(), agset(), and scan_graph_mode().
| int aginitlib | ( | int | gs, |
| int | ns, | ||
| int | es | ||
| ) |
Definition at line 326 of file attribs.c.
References AG, AG_s::proto_g, NULL, AG_s::graph_nbytes, AG_s::node_nbytes, AG_s::edge_nbytes, AG_s::init_called, TRUE, agerr(), AGERR, and AGWARN.
| Agsym_t* aglstattr | ( | void * | obj | ) |
Definition at line 313 of file attribs.c.
References agdictof(), dtlast, and Agdict_t::dict.
| Agdict_t* agNEWdict | ( | char * | name | ) |
Definition at line 252 of file attribs.c.
References offsetof, NEW, Agdict_t::name, Agdict_t::dict, dtopen(), Dttree, Agdict_t::list, and NULL.
Definition at line 41 of file attribs.c.
References NEW, Agsym_t::name, agstrdup(), Agsym_t::value, Agsym_t::printed, TRUE, Agsym_t::index, dtsize(), Agdict_t::dict, Agdict_t::list, ALLOC, NULL, and dtinsert.
Referenced by agattr(), and agcopydict().
Definition at line 207 of file attribs.c.
References NULL, AG, AG_s::proto_g, Agraph_t::root, agattr(), Agraph_t::proto, and Agproto_t::n.
Referenced by dotneato_args_initialize(), attach_attrs_and_arrows(), setAttr(), agsafeset(), agopen(), gvContext(), gvContextPlugins(), gvplugin_graph(), and setv().
Definition at line 307 of file attribs.c.
References agdictof(), dtnext, and Agdict_t::dict.
Referenced by firstattr(), and nextattr().
Definition at line 173 of file attribs.c.
References Agraph_t::proto, and Agproto_t::e.
| Agraph_t* agprotograph | ( | void | ) |
Definition at line 162 of file attribs.c.
References AG, and AG_s::proto_g.
Referenced by dotneato_args_initialize().
Definition at line 167 of file attribs.c.
References Agraph_t::proto, and Agproto_t::n.
Definition at line 319 of file attribs.c.
References agdictof(), dtprev, and Agdict_t::dict.
Definition at line 198 of file attribs.c.
References NULL, AG, AG_s::proto_g, Agraph_t::root, and agattr().
Referenced by dotneato_args_initialize(), attach_attrs_and_arrows(), setAttr(), agsafeset(), gvplugin_graph(), init_nop(), and setv().
| int agsafeset | ( | void * | obj, |
| char * | name, | ||
| char * | value, | ||
| char * | def | ||
| ) |
Definition at line 388 of file attribs.c.
References agfindattr(), NULL, TAG_OF, TAG_GRAPH, agraphattr(), TAG_NODE, agnodeattr(), graph(), TAG_EDGE, agedgeattr(), head, agxset(), and Agsym_t::index.
Referenced by gvLayout().
| int agset | ( | void * | obj, |
| char * | attr, | ||
| char * | value | ||
| ) |
Definition at line 350 of file attribs.c.
References agxset(), and agindex().
Referenced by attach_attrs_and_arrows(), setSeed(), and twopi_layout().
| char* agxget | ( | void * | obj, |
| int | index | ||
| ) |
Definition at line 366 of file attribs.c.
References NULL.
Referenced by arrow_flags(), write_plain(), late_string(), late_bool(), common_init_node(), common_init_edge(), nonconstraint_edge(), dot_sameports(), agget(), agcopyattr(), makeMatrix(), and user_pos().
| int agxset | ( | void * | obj, |
| int | index, | ||
| char * | buf | ||
| ) |
Definition at line 373 of file attribs.c.
References Agraph_t::attr, agstrfree(), agstrdup(), and Agraph_t::didset.
Referenced by attach_attrs_and_arrows(), setAttr(), agset(), agsafeset(), agcopyattr(), and gvplugin_graph().
1.7.5