Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvlayout.c File Reference
#include "config.h"
#include <common/const.h>
#include <gvc/gvplugin_layout.h>
#include <gvc/gvcint.h>
#include <cgraph/cgraph.h>
#include <gvc/gvcproc.h>
#include <gvc/gvc.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for gvlayout.c:

Go to the source code of this file.

Functions

void graph_init (Agraph_t *g, bool use_rankdir)
 
void graph_cleanup (Agraph_t *g)
 
void gv_fixLocale (int set)
 
int gvlayout_select (GVC_t *gvc, const char *layout)
 
int gvLayoutJobs (GVC_t *gvc, Agraph_t *g)
 
bool gvLayoutDone (Agraph_t *g)
 
int gvFreeLayout (GVC_t *gvc, Agraph_t *g)
 

Function Documentation

◆ graph_cleanup()

void graph_cleanup ( Agraph_t g)
extern

Definition at line 790 of file input.c.

References agclean(), AGRAPH, free(), free_label(), freeXDot(), GD_drawing, GD_label, and NULL.

Referenced by gvFreeLayout().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ graph_init()

void graph_init ( Agraph_t g,
bool  use_rankdir 
)
extern

Definition at line 592 of file input.c.

References agattr(), agfindedgeattr, agfindgraphattr, agfindnodeattr, agget(), agisdirected(), agmemconcat(), AGNODE, agxbfree(), agxbprint(), agxbuse(), CL_type, Concentrate, DEFAULT_NODESEP, DEFAULT_RANKSEP, do_graph_label(), E_arrowsz, E_color, E_comment, E_constr, E_decorate, E_dir, E_fillcolor, 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, E_xlabel, EdgeLabelsDone, findCharset(), G_gradientangle, G_margin, G_ordering, GD_charset, GD_drawing, GD_exact_ranksep, GD_fontnames, GD_nodesep, GD_ranksep, GD_showboxes, getdoubles2ptf(), GLOBAL, gv_alloc(), GVBEGIN, Gvfilepath, Gvimagepath, HTTPServerEnVar, init_xdot(), 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_gradientangle, N_group, N_height, N_imagepos, N_imagescale, N_label, N_layer, N_nojustify, N_ordering, N_orientation, N_penwidth, N_peripheries, N_shape, N_showboxes, N_sides, N_skew, N_style, N_vertices, N_width, N_xlabel, N_z, NATIVEFONTS, NOCLUST, NODENAME_ESC, NULL, POINTS, PSFONTS, RANKDIR_BT, RANKDIR_LR, RANKDIR_RL, RANKDIR_TB, SET_RANKDIR, setRatio(), State, strdup_and_subst_obj(), streq(), and SVGFONTS.

Referenced by gvLayoutJobs(), and init_graph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gv_fixLocale()

void gv_fixLocale ( int  set)
extern

Definition at line 3869 of file emit.c.

References cnt(), free(), gv_strdup(), and NULL.

Referenced by attach_attrs_and_arrows(), gvLayoutJobs(), and gvRenderJobs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvlayout_select()

int gvlayout_select ( GVC_t gvc,
const char *  layout 
)

Definition at line 31 of file gvlayout.c.

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

Referenced by dotneato_args_initialize(), gvLayout(), and gvLayoutJobs().

Here is the call graph for this function:
Here is the caller graph for this function: