/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/gvc/gvlayout.c File Reference

#include "const.h"
#include "gvplugin_layout.h"
#include "gvcint.h"
#include "graph.h"
#include "gvcproc.h"

Include dependency graph for gvlayout.c:

Go to the source code of this file.

Functions

void graph_init (graph_t *g, boolean use_rankdir)
void graph_cleanup (graph_t *g)
int gvlayout_select (GVC_t *gvc, char *layout)
int gvLayoutJobs (GVC_t *gvc, graph_t *g)
int gvFreeLayout (GVC_t *gvc, graph_t *g)


Function Documentation

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().

int gvFreeLayout ( GVC_t gvc,
graph_t g 
)

Definition at line 83 of file gvlayout.c.

References GD_cleanup, GD_drawing, graph_cleanup(), and NULL.

int gvlayout_select ( GVC_t gvc,
char *  layout 
)

Definition at line 35 of file gvlayout.c.

References gvplugin_installed_t::engine, gvplugin_active_layout_s::engine, gvplugin_installed_t::features, gvplugin_active_layout_s::features, gvplugin_load(), GVRENDER_PLUGIN, gvplugin_installed_t::id, gvplugin_active_layout_s::id, GVC_s::layout, NO_SUPPORT, gvplugin_installed_t::type, gvplugin_active_layout_s::type, and gvplugin_available_s::typeptr.

Referenced by dotneato_args_initialize(), and gvLayout().

int gvLayoutJobs ( GVC_t gvc,
graph_t g 
)

Definition at line 57 of file gvlayout.c.

References gvlayout_engine_s::cleanup, gvplugin_active_layout_s::engine, gvplugin_active_layout_s::features, gvlayout_features_t::flags, GD_cleanup, GD_drawing, GD_gvc, graph_init(), gvlayout_engine_s::layout, GVC_s::layout, LAYOUT_USES_RANKDIR, and Agraph_t::root.


Generated on Mon Mar 31 19:06:13 2008 for Graphviz by  doxygen 1.5.1