Graphviz  2.29.20120523.0446
Data Structures | Defines | Functions
lib/twopigen/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

Defines

#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)

Define 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 342 of file circle.c.

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

Referenced by twopi_layout().

void twopi_cleanup ( Agraph_t g)

Definition at line 188 of file twopiinit.c.

void twopi_init_graph ( graph_t g)

Definition at line 71 of file twopiinit.c.

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

Referenced by twopi_layout().

void twopi_layout ( Agraph_t g)

Definition at line 81 of file twopiinit.c.