Graphviz  2.41.20170921.2350
Data Structures | Macros | Functions
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

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

Definition at line 36 of file circle.h.

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

Definition at line 33 of file circle.h.

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

Definition at line 37 of file circle.h.

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

Definition at line 34 of file circle.h.

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

Definition at line 39 of file circle.h.

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

Definition at line 38 of file circle.h.

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

Definition at line 35 of file circle.h.

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

Definition at line 40 of file circle.h.

Function Documentation

Agnode_t* circleLayout ( Agraph_t sg,
Agnode_t center 
)

Definition at line 410 of file circle.c.

References agerr(), AGERR, agfstnode(), agnameof(), agnnodes(), initLayout(), ND_pos, and Verbose.

Referenced by twopi_layout().

void twopi_cleanup ( Agraph_t g)

Definition at line 185 of file twopiinit.c.

void twopi_init_graph ( graph_t g)

Definition at line 54 of file twopiinit.c.

References ET_LINE, GD_ndim, Ndim, and setEdgeType().

Referenced by twopi_layout().

void twopi_layout ( Agraph_t g)

Definition at line 75 of file twopiinit.c.