Graphviz
2.41.20171026.1811
|
#include <cghdr.h>
Go to the source code of this file.
Macros | |
#define | MINATTR 4 /* minimum allocation */ |
Functions | |
Agdatadict_t * | agdatadict (Agraph_t *g, int cflag) |
Dict_t * | agdictof (Agraph_t *g, int kind) |
Agsym_t * | agnewsym (Agraph_t *g, char *name, char *value, int id, int kind) |
Agsym_t * | agdictsym (Dict_t *dict, char *name) |
Agsym_t * | aglocaldictsym (Dict_t *dict, char *name) |
Agsym_t * | agattrsym (void *obj, char *name) |
Agattr_t * | agattrrec (void *obj) |
Agsym_t * | agattr (Agraph_t *g, int kind, char *name, char *value) |
Agsym_t * | agnxtattr (Agraph_t *g, int kind, Agsym_t *attr) |
void | agraphattr_init (Agraph_t *g) |
int | agraphattr_delete (Agraph_t *g) |
void | agnodeattr_init (Agraph_t *g, Agnode_t *n) |
void | agnodeattr_delete (Agnode_t *n) |
void | agedgeattr_init (Agraph_t *g, Agedge_t *e) |
void | agedgeattr_delete (Agedge_t *e) |
char * | agget (void *obj, char *name) |
char * | agxget (void *obj, Agsym_t *sym) |
int | agset (void *obj, char *name, char *value) |
int | agxset (void *obj, Agsym_t *sym, char *value) |
int | agsafeset (void *obj, char *name, char *value, char *def) |
int | agcopyattr (void *oldobj, void *newobj) |
Variables | |
Dtdisc_t | AgDataDictDisc |
char * | AgDataRecName = "_AG_strdata" |
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().
Agattr_t* agattrrec | ( | void * | obj | ) |
Definition at line 231 of file attr.c.
References aggetrec(), and FALSE.
Referenced by agattrsym(), agedgeattr_delete(), agedgeattr_init(), agget(), agnodeattr_delete(), agnodeattr_init(), agraphattr_delete(), agxget(), and agxset().
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().
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.
Agdatadict_t* agdatadict | ( | Agraph_t * | g, |
int | cflag | ||
) |
Definition at line 41 of file attr.c.
References aggetrec(), and FALSE.
Referenced by agdictof(), agraphattr_delete(), and agxset().
Definition at line 52 of file attr.c.
References agdatadict(), agerr(), AGERR, AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, Agdatadict_s::dict, Agdatadict_s::e, FALSE, Agdatadict_s::g, Agdatadict_s::n, and NIL.
Referenced by agnxtattr().
Definition at line 134 of file attr.c.
References dtsearch, and Agsym_s::name.
Referenced by agattrsym(), and aglocaldictsym().
void agedgeattr_delete | ( | Agedge_t * | e | ) |
Definition at line 418 of file attr.c.
References agattrrec(), and agdelrec().
Referenced by agdeledge().
Definition at line 409 of file attr.c.
References agattrrec(), and Agattr_s::dict.
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().
Definition at line 79 of file attr.c.
References agalloc(), agstrdup(), Agsym_s::defval, Agsym_s::id, Agsym_s::kind, and Agsym_s::name.
Referenced by agxset().
void agnodeattr_delete | ( | Agnode_t * | n | ) |
Definition at line 399 of file attr.c.
References agattrrec(), and agdelrec().
Referenced by agdelnode().
Definition at line 390 of file attr.c.
References agattrrec(), and Agattr_s::dict.
Definition at line 340 of file attr.c.
References agdictof(), dtfirst, and dtnext.
Referenced by agcopyattr(), firstattr(), listEdgeAttrs(), listGraphAttrs(), listNodeAttrs(), main(), and nextattr().
Definition at line 370 of file attr.c.
References Ag_G_global, agattrrec(), agdatadict(), agdelrec(), agdtclose(), Agdatadict_s::dict, Agdatadict_s::e, FALSE, Agdatadict_s::g, Agattr_s::h, Agdatadict_s::h, Agdatadict_s::n, and Agrec_s::name.
Referenced by agclose().
void agraphattr_init | ( | Agraph_t * | g | ) |
Definition at line 357 of file attr.c.
References agparent(), Agraph_s::desc, and Agdesc_s::has_attrs.
Referenced by agopen1().
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().
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().
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().
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().
Dtdisc_t AgDataDictDisc |