This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | strcasecmp (const char *s1, const char *s2) |
int | strncasecmp (const char *s1, const char *s2, size_t n) |
nodequeue * | new_queue (int) |
void | free_queue (nodequeue *) |
void | enqueue (nodequeue *, Agnode_t *) |
Agnode_t * | dequeue (nodequeue *) |
int | late_attr (void *, char *) |
int | late_int (void *, Agsym_t *, int, int) |
double | late_double (void *, Agsym_t *, double, double) |
char * | late_nnstring (void *, Agsym_t *, char *) |
char * | late_string (void *, Agsym_t *, char *) |
boolean | late_bool (void *, Agsym_t *, int) |
Agnode_t * | UF_find (Agnode_t *) |
Agnode_t * | UF_union (Agnode_t *, Agnode_t *) |
void | UF_remove (Agnode_t *, Agnode_t *) |
void | UF_singleton (Agnode_t *) |
void | UF_setname (Agnode_t *, Agnode_t *) |
char * | safefile (char *shapefilename) |
void | cat_libfile (FILE *of, char **arglib, char **stdlib) |
void | cat_preamble (GVJ_t *job, char **arglib) |
boolean | mapbool (char *) |
int | maptoken (char *, char **, int *) |
int | test_toggle (void) |
void | common_init_node (node_t *n) |
int | common_init_edge (edge_t *e) |
void | updateBB (graph_t *g, textlabel_t *lp) |
void | update_bb (graph_t *g, point p) |
void | compute_bb (Agraph_t *) |
boolean | overlap_node (node_t *n, boxf b) |
boolean | overlap_label (textlabel_t *lp, boxf b) |
boolean | overlap_edge (edge_t *e, boxf b) |
int | processClusterEdges (graph_t *g) |
void | undoClusterEdges (graph_t *g) |
attrsym_t * | safe_dcl (graph_t *, void *, char *, char *, attrsym_t *(*fun)(Agraph_t *, char *, char *)) |
char * | latin1ToUTF8 (char *) |
char * | htmlEntityUTF8 (char *) |
char * | utf8ToLatin1 (char *ins) |
char * | scanEntity (char *t, agxbuf *xb) |
pointf | Bezier (pointf *, int, double, pointf *, pointf *) |
point | dotneato_closest (splines *spl, point p) |
point | neato_closest (splines *spl, point p) |
point | spline_at_y (splines *spl, int y) |
void | setEdgeType (graph_t *g, int dflt) |
Definition at line 203 of file utils.c.
References NULL, W_DEGREE, and pointf_s::y.
Referenced by bezier_clip(), closest(), dotneato_closest(), place_portlabel(), and spline_at_y().
void cat_libfile | ( | FILE * | of, | |
char ** | arglib, | |||
char ** | stdlib | |||
) |
Definition at line 399 of file utils.c.
References agerr(), AGWARN, FALSE, safefile(), and TRUE.
Referenced by cat_preamble().
void cat_preamble | ( | GVJ_t * | job, | |
char ** | arglib | |||
) |
int common_init_edge | ( | edge_t * | e | ) |
Definition at line 719 of file utils.c.
References agget(), aghtmlstr(), agxget(), E_headclip, E_headlabel, E_label, E_label_float, E_tailclip, E_taillabel, ED_head_label, ED_head_port, ED_label, ED_label_ontop, ED_tail_label, ED_tail_port, EDGE_LABEL, FALSE, fontinfo::fontcolor, fontinfo::fontname, fontinfo::fontsize, GD_has_labels, Agnode_t::graph, HEAD_ID, HEAD_LABEL, Agsym_t::index, late_string(), LT_HTML, LT_NONE, make_html_label(), make_label(), mapbool(), ND_has_port, ND_shape, NULL, strdup_and_subst_obj(), Agedge_t::tail, TAIL_ID, TAIL_LABEL, and TRUE.
Referenced by neato_init_edge().
void common_init_node | ( | node_t * | n | ) |
Definition at line 608 of file utils.c.
References agerr(), aghtmlstr(), AGPREV, agxget(), bind_shape(), DEFAULT_COLOR, DEFAULT_FONTNAME, DEFAULT_FONTSIZE, DEFAULT_NODEHEIGHT, DEFAULT_NODESHAPE, DEFAULT_NODEWIDTH, Agnode_t::graph, Agsym_t::index, late_double(), late_int(), late_nnstring(), LT_HTML, LT_NONE, LT_RECD, make_html_label(), make_label(), MIN_FONTSIZE, MIN_NODEHEIGHT, MIN_NODEWIDTH, N_fontcolor, N_fontname, N_fontsize, N_height, N_label, N_shape, N_showboxes, N_width, ND_height, ND_label, ND_shape, ND_showboxes, ND_width, NODENAME_ESC, NULL, Agraph_t::root, SH_RECORD, shapeOf(), str, and strdup_and_subst_obj().
Referenced by neato_init_node().
void compute_bb | ( | Agraph_t * | ) |
Definition at line 851 of file utils.c.
References add_points(), agfstnode(), agfstout(), agnxtnode(), agnxtout(), coord(), ED_label, ED_spl, GD_bb, GD_clust, GD_flip, GD_n_cluster, INT_MAX, box::LL, ND_xsize, ND_ysize, pointof(), sub_points(), box::UR, point::x, and point::y.
Referenced by init_nop(), layout(), neato_layout(), packSubgraphs(), putGraphs(), and spline_edges().
Definition at line 54 of file utils.c.
References nodequeue::head, nodequeue::limit, NULL, nodequeue::store, and nodequeue::tail.
Referenced by build_ranks().
Definition at line 460 of file utils.c.
References Bezier(), bezier::list, splines::list, NULL, P2PF, PF2P, bezier::size, splines::size, point::x, pointf_s::y, and point::y.
Definition at line 47 of file utils.c.
References nodequeue::limit, nodequeue::store, and nodequeue::tail.
Referenced by build_ranks(), and enqueue_neighbors().
void free_queue | ( | nodequeue * | ) |
Definition at line 41 of file utils.c.
References free(), and nodequeue::store.
Referenced by build_ranks().
char* htmlEntityUTF8 | ( | char * | ) |
Definition at line 1371 of file utils.c.
References AGERR, agerr(), agxbfree(), agxbinit(), agxbputc, and agxbuse.
Referenced by size_label().
int late_attr | ( | void * | , | |
char * | ||||
) |
double late_double | ( | void * | , | |
Agsym_t * | , | |||
double | , | |||
double | ||||
) |
Definition at line 91 of file utils.c.
References agxget(), Agsym_t::index, and NULL.
Referenced by common_init_node(), do_graph_label(), emit_clusters(), fdp_initParams(), graph_init(), and neato_init_edge().
int late_int | ( | void * | , | |
Agsym_t * | , | |||
int | , | |||
int | ||||
) |
Definition at line 77 of file utils.c.
References agxget(), Agsym_t::index, and NULL.
Referenced by common_init_node(), emit_clusters(), fdp_init_graph(), fdp_initParams(), graph_init(), and neato_init_graphn().
char* late_nnstring | ( | void * | , | |
Agsym_t * | , | |||
char * | ||||
) |
Definition at line 113 of file utils.c.
References late_string().
Referenced by common_init_node(), do_graph_label(), emit_clusters(), and write_plain().
char* late_string | ( | void * | , | |
Agsym_t * | , | |||
char * | ||||
) |
Definition at line 106 of file utils.c.
References agxget(), Agsym_t::index, and NULL.
Referenced by common_init_edge(), emit_graph(), graph_init(), and late_nnstring().
char* latin1ToUTF8 | ( | char * | ) |
Definition at line 1447 of file utils.c.
References agxbfree(), agxbinit(), agxbputc, and agxbuse.
Referenced by size_label().
int maptoken | ( | char * | , | |
char ** | , | |||
int * | ||||
) |
nodequeue* new_queue | ( | int | ) |
Definition at line 30 of file utils.c.
References nodequeue::head, nodequeue::limit, N_NEW, NEW, nodequeue::store, and nodequeue::tail.
Referenced by build_ranks().
boolean overlap_label | ( | textlabel_t * | lp, | |
boxf | b | |||
) |
Definition at line 1536 of file utils.c.
References textlabel_t::dimen, boxf::LL, textlabel_t::p, boxf::UR, point::x, pointf_s::x, point::y, and pointf_s::y.
Referenced by overlap_edge().
int processClusterEdges | ( | graph_t * | g | ) |
Definition at line 1137 of file utils.c.
References agclose(), agdelete(), agfstnode(), agfstout(), agnnodes(), agnxtnode(), agnxtout(), agsubg(), agxbfree(), agxbinit(), dtclose(), dtopen(), Dtoset, IS_CLUST_NODE, SET_CLUST_EDGE, and SMALLBUF.
Referenced by fdp_init_node_edge().
attrsym_t* safe_dcl | ( | graph_t * | , | |
void * | , | |||
char * | , | |||
char * | , | |||
attrsym_t *(*)(Agraph_t *, char *, char *) | fun | |||
) |
Definition at line 1254 of file utils.c.
References agfindattr(), and NULL.
Referenced by attach_attrs_and_arrows().
char* safefile | ( | char * | shapefilename | ) |
Definition at line 334 of file utils.c.
References agerr(), AGWARN, FALSE, Gvfilepath, HTTPServerEnVar, NULL, realloc(), str, and TRUE.
Referenced by bind_shape(), cat_libfile(), and epsf_init().
char* scanEntity | ( | char * | t, | |
agxbuf * | xb | |||
) |
void setEdgeType | ( | graph_t * | g, | |
int | dflt | |||
) |
Definition at line 1627 of file utils.c.
References agerr(), agget(), AGWARN, ET_COMPOUND, ET_LINE, ET_NONE, ET_ORTHO, ET_PLINE, ET_SPLINE, GD_flags, and strcasecmp().
Referenced by circo_init_graph(), dot_layout(), fdp_init_graph(), neato_init_graphn(), and twopi_init_graph().
Definition at line 519 of file utils.c.
References ABS, assert, BETWEEN, Bezier(), bezier::list, splines::list, NULL, bezier::size, splines::size, pointf_s::x, point::x, pointf_s::y, and point::y.
Referenced by neato_closest().
int strcasecmp | ( | const char * | s1, | |
const char * | s2 | |||
) |
Definition at line 27 of file strcasecmp.c.
int strncasecmp | ( | const char * | s1, | |
const char * | s2, | |||
size_t | n | |||
) |
int test_toggle | ( | void | ) |
Definition at line 129 of file utils.c.
References ND_UF_parent.
Referenced by class1(), class2(), decompose(), expand_ranksets(), UF_setname(), and UF_union().
Definition at line 178 of file utils.c.
References assert, ND_UF_parent, ND_UF_size, and UF_find().
Referenced by mark_clusters().
void UF_singleton | ( | Agnode_t * | ) |
Definition at line 171 of file utils.c.
References ND_ranktype, ND_UF_parent, ND_UF_size, NORMAL, and NULL.
Referenced by expand_ranksets(), and mark_clusters().
Definition at line 139 of file utils.c.
References Agnode_t::id, ND_UF_parent, ND_UF_size, NULL, and UF_find().
void undoClusterEdges | ( | graph_t * | g | ) |
Definition at line 1230 of file utils.c.
References agclose(), agdelete(), agfstnode(), agfstout(), agnxtnode(), agnxtout(), and agsubg().
Referenced by attach_attrs_and_arrows().
void updateBB | ( | graph_t * | g, | |
textlabel_t * | lp | |||
) |
Definition at line 841 of file utils.c.
References GD_bb, and GD_flip.
Referenced by makeSelfArcs().
char* utf8ToLatin1 | ( | char * | ins | ) |
Definition at line 1488 of file utils.c.
References agxbfree(), agxbinit(), agxbputc, and agxbuse.
Referenced by ps_string().