Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
circle.h File Reference
#include "render.h"
Include dependency graph for circle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rdata
 

Macros

#define RDATA(n)   ((rdata*)(ND_alg(n)))
 
#define SLEAF(n)   (RDATA(n)->nStepsToLeaf)
 
#define STSIZE(n)   (RDATA(n)->subtreeSize)
 
#define NCHILD(n)   (RDATA(n)->nChildren)
 
#define SCENTER(n)   (RDATA(n)->nStepsToCenter)
 
#define SPARENT(n)   (RDATA(n)->parent)
 
#define SPAN(n)   (RDATA(n)->span)
 
#define THETA(n)   (RDATA(n)->theta)
 

Functions

Agnode_tcircleLayout (Agraph_t *sg, Agnode_t *center)
 
void twopi_layout (Agraph_t *g)
 
void twopi_cleanup (Agraph_t *g)
 
void twopi_init_graph (graph_t *g)
 

Macro Definition Documentation

◆ NCHILD

#define NCHILD (   n)    (RDATA(n)->nChildren)

Definition at line 32 of file circle.h.

◆ RDATA

#define RDATA (   n)    ((rdata*)(ND_alg(n)))

Definition at line 29 of file circle.h.

◆ SCENTER

#define SCENTER (   n)    (RDATA(n)->nStepsToCenter)

Definition at line 33 of file circle.h.

◆ SLEAF

#define SLEAF (   n)    (RDATA(n)->nStepsToLeaf)

Definition at line 30 of file circle.h.

◆ SPAN

#define SPAN (   n)    (RDATA(n)->span)

Definition at line 35 of file circle.h.

◆ SPARENT

#define SPARENT (   n)    (RDATA(n)->parent)

Definition at line 34 of file circle.h.

◆ STSIZE

#define STSIZE (   n)    (RDATA(n)->subtreeSize)

Definition at line 31 of file circle.h.

◆ THETA

#define THETA (   n)    (RDATA(n)->theta)

Definition at line 36 of file circle.h.

Function Documentation

◆ circleLayout()

Agnode_t * circleLayout ( Agraph_t sg,
Agnode_t center 
)
extern

Definition at line 312 of file circle.c.

References agerrorf(), agfstnode(), agnameof(), agnnodes(), center(), findCenterNode(), initLayout(), ND_pos, setAbsolutePos(), setParentNodes(), setPositions(), setSubtreeSize(), setSubtreeSpans(), and Verbose.

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 ( Agraph_t g)
extern

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

void twopi_init_graph ( graph_t g)
extern

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

void twopi_layout ( Agraph_t g)
extern

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: