/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/common/input.c File Reference

#include <ctype.h>
#include "render.h"
#include "htmltable.h"

Include dependency graph for input.c:

Go to the source code of this file.

Functions

void dotneato_usage (int exval)
void dotneato_args_initialize (GVC_t *gvc, int argc, char **argv)
void global_def (char *dcl, attrsym_t *((*dclfun)(Agraph_t *, char *, char *)))
void getdouble (graph_t *g, char *name, double *result)
graph_tgvNextInputGraph (GVC_t *gvc)
void graph_init (graph_t *g, boolean use_rankdir)
void graph_cleanup (graph_t *g)
char * charsetToStr (int c)
void do_graph_label (graph_t *sg)


Function Documentation

char* charsetToStr ( int  c  ) 

Definition at line 727 of file input.c.

References agerr(), AGERR, CHAR_BIG5, CHAR_LATIN1, and CHAR_UTF8.

Referenced by initHTMLlexer().

void do_graph_label ( graph_t sg  ) 

Definition at line 753 of file input.c.

References agerr(), agfindattr(), agget(), aghtmlstr(), AGPREV, BOTTOM_IX, DEFAULT_COLOR, DEFAULT_FONTNAME, DEFAULT_FONTSIZE, GD_border, GD_flip, GD_has_labels, GD_label, GD_label_pos, GRAPH_LABEL, LABEL_AT_BOTTOM, LABEL_AT_LEFT, LABEL_AT_RIGHT, LABEL_AT_TOP, late_double(), late_nnstring(), LEFT_IX, LT_HTML, LT_NONE, make_html_label(), make_label(), MIN_FONTSIZE, PAD, PF2P, RIGHT_IX, Agraph_t::root, strdup_and_subst_obj(), TOP_IX, point::x, and point::y.

Referenced by graph_init().

void dotneato_args_initialize ( GVC_t gvc,
int  argc,
char **  argv 
)

Definition at line 170 of file input.c.

References agedgeattr(), AGERR, agfindattr(), aginit, AGMAX, agnodeattr(), agprotograph(), agraphattr(), agseterr(), assert, GVCOMMON_s::cmdname, CmdName, GVC_s::common, GVCOMMON_s::config, dotneato_usage(), global_def(), gvconfig(), Gvfilepath, gvjobs_output_filename(), gvjobs_output_langname(), gvlayout_select(), gvplugin_list(), HTTPServerEnVar, N_NEW, NO_SUPPORT, NODENAME_ESC, NULL, PSinputscale, Reduce, TRUE, Verbose, and Y_invert.

Referenced by gvParseArgs().

void dotneato_usage ( int  exval  ) 

Definition at line 65 of file input.c.

References CmdName.

Referenced by dotneato_args_initialize().

void getdouble ( graph_t g,
char *  name,
double *  result 
)

Definition at line 369 of file input.c.

References agget().

Referenced by scan_graph_mode().

void global_def ( char *  dcl,
attrsym_t ((*dclfun)(Agraph_t *, char *, char *)) 
)

Definition at line 332 of file input.c.

References Agsym_t::fixed, and NULL.

Referenced by dotneato_args_initialize().

void graph_cleanup ( graph_t g  ) 

Definition at line 714 of file input.c.

References free(), free_label(), GD_drawing, GD_label, NULL, and Agraph_t::u.

Referenced by gvFreeLayout().

void graph_init ( graph_t g,
boolean  use_rankdir 
)

Definition at line 548 of file input.c.

References agfindattr(), agget(), CL_type, Concentrate, DEFAULT_NODESEP, DEFAULT_RANKSEP, do_graph_label(), E_arrowhead, E_arrowsz, E_arrowtail, E_color, E_comment, E_constr, E_decorate, E_dir, E_fontcolor, E_fontname, E_fontsize, E_headclip, E_headlabel, E_label, E_label_float, E_labelangle, E_labeldistance, E_labelfontcolor, E_labelfontname, E_labelfontsize, E_layer, E_minlen, E_penwidth, E_showboxes, E_style, E_tailclip, E_taillabel, E_weight, GD_charset, GD_drawing, GD_exact_ranksep, GD_fontnames, GD_nodesep, GD_ranksep, GD_showboxes, GLOBAL, grealloc(), GVBEGIN, Initial_dist, late_double(), late_int(), late_string(), LOCAL, mapbool(), maptoken(), MIN_NODESEP, MIN_RANKSEP, MYHUGE, N_color, N_comment, N_distortion, N_fillcolor, N_fixed, N_fontcolor, N_fontname, N_fontsize, N_group, N_height, N_imagescale, N_label, N_layer, N_nojustify, N_orientation, N_penwidth, N_peripheries, N_shape, N_showboxes, N_sides, N_skew, N_style, N_vertices, N_width, N_z, NATIVEFONTS, NEW, NOCLUST, NULL, PSFONTS, RANKDIR_BT, RANKDIR_LR, RANKDIR_RL, RANKDIR_TB, SET_RANKDIR, State, streq, SVGFONTS, and TRUE.

Referenced by gvLayoutJobs(), and main().

graph_t* gvNextInputGraph ( GVC_t gvc  ) 

Definition at line 431 of file input.c.

References agerr(), AGERR, agread(), agread_usergets(), agsetfile(), GVCOMMON_s::cmdname, GVC_s::common, GVG_s::g, GVG_s::graph_index, graphviz_errors, GVG_s::gvc, GVC_s::gvg, GVC_s::gvgs, GVG_s::input_filename, GVC_s::input_filenames, GVG_s::next, NULL, and zmalloc().

Referenced by main().


Generated on Mon Mar 31 19:04:39 2008 for Graphviz by  doxygen 1.5.1