Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
twopiinit.c File Reference
#include <cgraph/alloc.h>
#include <cgraph/cgraph.h>
#include <twopigen/circle.h>
#include <neatogen/adjust.h>
#include <pack/pack.h>
#include <neatogen/neatoprocs.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for twopiinit.c:

Go to the source code of this file.

Functions

static void twopi_init_edge (edge_t *e)
 
static void twopi_init_node_edge (graph_t *g)
 
void twopi_init_graph (graph_t *g)
 
static Agnode_tfindRootNode (Agraph_t *sg, Agsym_t *rootattr)
 
void twopi_layout (Agraph_t *g)
 
static void twopi_cleanup_graph (graph_t *g)
 
void twopi_cleanup (graph_t *g)
 

Function Documentation

◆ findRootNode()

static Agnode_t * findRootNode ( Agraph_t sg,
Agsym_t rootattr 
)
static

Definition at line 62 of file twopiinit.c.

References agfstnode(), agnxtnode(), agxget(), mapbool(), and NULL.

Referenced by twopi_layout().

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

◆ twopi_cleanup()

void twopi_cleanup ( graph_t g)

Definition at line 180 of file twopiinit.c.

References agfstnode(), agfstout(), agnxtnode(), agnxtout(), gv_cleanup_edge(), gv_cleanup_node(), and twopi_cleanup_graph().

Here is the call graph for this function:

◆ twopi_cleanup_graph()

static void twopi_cleanup_graph ( graph_t g)
static

Definition at line 171 of file twopiinit.c.

References free(), and GD_neato_nlist.

Referenced by twopi_cleanup().

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

◆ twopi_init_edge()

static void twopi_init_edge ( edge_t e)
static

Definition at line 26 of file twopiinit.c.

References agbindrec(), common_init_edge(), E_weight, ED_factor, and late_double().

Referenced by twopi_init_node_edge().

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

◆ twopi_init_graph()

void twopi_init_graph ( graph_t g)

Definition at line 54 of file twopiinit.c.

References agroot(), EDGETYPE_LINE, GD_ndim, Ndim, setEdgeType(), and twopi_init_node_edge().

Referenced by twopi_layout().

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

◆ twopi_init_node_edge()

static void twopi_init_node_edge ( graph_t g)
static

Definition at line 33 of file twopiinit.c.

References agfstnode(), agfstout(), agnnodes(), agnxtnode(), agnxtout(), GD_neato_nlist, gv_calloc(), ND_alg, neato_init_node(), and twopi_init_edge().

Referenced by twopi_init_graph().

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

◆ twopi_layout()

void twopi_layout ( Agraph_t g)

Definition at line 75 of file twopiinit.c.

References adjustNodes(), agattr(), agcontains(), agdelete(), agerr(), agfindnode, agfstnode(), agget(), agnameof(), agnnodes(), AGNODE, AGPREV, agset(), agwarningf(), agxset(), ccomps(), circleLayout(), CL_OFFSET, pack_info::doSplines, dotneato_postprocess(), findRootNode(), free(), getPackInfo(), graphviz_node_induce(), l_node, ND_alg, NULL, packSubgraphs(), spline_edges(), twopi_init_graph(), pointf_s::x, and pointf_s::y.

Here is the call graph for this function: