Graphviz  2.41.20171026.1811
Data Structures | Macros | Functions
tlayout.c File Reference
#include "config.h"
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <ctype.h>
#include <dbg.h>
#include <grid.h>
#include <neato.h>
#include "tlayout.h"
#include "globals.h"
Include dependency graph for tlayout.c:

Go to the source code of this file.

Data Structures

struct  parms_t
 

Macros

#define FDP_PRIVATE   1
 
#define srand48   srand
 
#define D_useGrid   (fdp_parms->useGrid)
 
#define D_useNew   (fdp_parms->useNew)
 
#define D_numIters   (fdp_parms->numIters)
 
#define D_unscaled   (fdp_parms->unscaled)
 
#define D_C   (fdp_parms->C)
 
#define D_Tfact   (fdp_parms->Tfact)
 
#define D_K   (fdp_parms->K)
 
#define D_T0   (fdp_parms->T0)
 
#define T_useGrid   (parms.useGrid)
 
#define T_useNew   (parms.useNew)
 
#define T_seed   (parms.seed)
 
#define T_numIters   (parms.numIters)
 
#define T_maxIters   (parms.maxIters)
 
#define T_unscaled   (parms.unscaled)
 
#define T_C   (parms.C)
 
#define T_Tfact   (parms.Tfact)
 
#define T_K   (parms.K)
 
#define T_T0   (parms.T0)
 
#define T_smode   (parms.smode)
 
#define T_Cell   (parms.Cell)
 
#define T_Cell2   (parms.Cell2)
 
#define T_K2   (parms.K2)
 
#define T_Wd   (parms.Wd)
 
#define T_Ht   (parms.Ht)
 
#define T_Wd2   (parms.Wd2)
 
#define T_Ht2   (parms.Ht2)
 
#define T_pass1   (parms.pass1)
 
#define T_loopcnt   (parms.loopcnt)
 
#define EXPFACTOR   1.2
 
#define DFLT_maxIters   600
 
#define DFLT_K   0.3
 
#define DFLT_Cell   0.0
 
#define DFLT_seed   1
 
#define DFLT_smode   INIT_RANDOM
 
#define FLOOR(d)   ((int)floor(d))
 

Functions

double drand48 (void)
 
void fdp_initParams (graph_t *g)
 
void dumpstat (graph_t *g)
 
void fdp_tLayout (graph_t *g, xparams *xpms)
 

Macro Definition Documentation

#define D_C   (fdp_parms->C)

Definition at line 60 of file tlayout.c.

Referenced by fdp_initParams().

#define D_K   (fdp_parms->K)

Definition at line 62 of file tlayout.c.

Referenced by fdp_initParams().

#define D_numIters   (fdp_parms->numIters)

Definition at line 58 of file tlayout.c.

Referenced by fdp_initParams().

#define D_T0   (fdp_parms->T0)

Definition at line 63 of file tlayout.c.

Referenced by fdp_initParams().

#define D_Tfact   (fdp_parms->Tfact)

Definition at line 61 of file tlayout.c.

Referenced by fdp_initParams().

#define D_unscaled   (fdp_parms->unscaled)

Definition at line 59 of file tlayout.c.

Referenced by fdp_initParams().

#define D_useGrid   (fdp_parms->useGrid)

Definition at line 56 of file tlayout.c.

Referenced by fdp_initParams().

#define D_useNew   (fdp_parms->useNew)

Definition at line 57 of file tlayout.c.

Referenced by fdp_initParams().

#define DFLT_Cell   0.0

Definition at line 117 of file tlayout.c.

Referenced by fdp_initParams().

#define DFLT_K   0.3

Definition at line 116 of file tlayout.c.

Referenced by fdp_initParams().

#define DFLT_maxIters   600

Definition at line 115 of file tlayout.c.

Referenced by fdp_initParams().

#define DFLT_seed   1

Definition at line 118 of file tlayout.c.

Referenced by fdp_initParams().

#define DFLT_smode   INIT_RANDOM

Definition at line 119 of file tlayout.c.

Referenced by fdp_initParams().

#define EXPFACTOR   1.2

Definition at line 114 of file tlayout.c.

#define FDP_PRIVATE   1

Definition at line 31 of file tlayout.c.

#define FLOOR (   d)    ((int)floor(d))

Definition at line 400 of file tlayout.c.

#define srand48   srand

Definition at line 47 of file tlayout.c.

#define T_C   (parms.C)

Definition at line 99 of file tlayout.c.

Referenced by fdp_initParams().

#define T_Cell   (parms.Cell)

Definition at line 104 of file tlayout.c.

Referenced by fdp_initParams().

#define T_Cell2   (parms.Cell2)

Definition at line 105 of file tlayout.c.

Referenced by fdp_initParams().

#define T_Ht   (parms.Ht)

Definition at line 108 of file tlayout.c.

#define T_Ht2   (parms.Ht2)

Definition at line 110 of file tlayout.c.

#define T_K   (parms.K)

Definition at line 101 of file tlayout.c.

Referenced by fdp_initParams().

#define T_K2   (parms.K2)

Definition at line 106 of file tlayout.c.

Referenced by fdp_initParams().

#define T_loopcnt   (parms.loopcnt)

Definition at line 112 of file tlayout.c.

Referenced by fdp_tLayout().

#define T_maxIters   (parms.maxIters)

Definition at line 97 of file tlayout.c.

Referenced by fdp_initParams().

#define T_numIters   (parms.numIters)

Definition at line 96 of file tlayout.c.

Referenced by fdp_initParams().

#define T_pass1   (parms.pass1)

Definition at line 111 of file tlayout.c.

#define T_seed   (parms.seed)

Definition at line 95 of file tlayout.c.

Referenced by fdp_initParams().

#define T_smode   (parms.smode)

Definition at line 103 of file tlayout.c.

Referenced by fdp_initParams().

#define T_T0   (parms.T0)

Definition at line 102 of file tlayout.c.

Referenced by fdp_initParams(), and fdp_tLayout().

#define T_Tfact   (parms.Tfact)

Definition at line 100 of file tlayout.c.

Referenced by fdp_initParams().

#define T_unscaled   (parms.unscaled)

Definition at line 98 of file tlayout.c.

Referenced by fdp_initParams().

#define T_useGrid   (parms.useGrid)

Definition at line 93 of file tlayout.c.

Referenced by fdp_initParams(), and fdp_tLayout().

#define T_useNew   (parms.useNew)

Definition at line 94 of file tlayout.c.

Referenced by fdp_initParams().

#define T_Wd   (parms.Wd)

Definition at line 107 of file tlayout.c.

#define T_Wd2   (parms.Wd2)

Definition at line 109 of file tlayout.c.

Function Documentation

double drand48 ( void  )

Definition at line 2005 of file utils.c.

void dumpstat ( graph_t g)

Definition at line 633 of file tlayout.c.

References agfstnode(), agfstout(), aghead(), agnameof(), agnxtnode(), agnxtout(), and ND_pos.

void fdp_initParams ( graph_t g)
void fdp_tLayout ( graph_t g,
xparams xpms 
)