Graphviz  2.35.20130930.0449
Macros | Functions
neatoprocs.h File Reference
#include "adjust.h"
Include dependency graph for neatoprocs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define extern
 

Functions

int allow_edits (int)
 
void avoid_cycling (graph_t *, Agnode_t *, double *)
 
int checkStart (graph_t *G, int nG, int)
 
Agnode_tchoose_node (graph_t *, int)
 
int circuit_model (graph_t *, int)
 
void D2E (Agraph_t *, int, int, double *)
 
void diffeq_model (graph_t *, int)
 
double distvec (double *, double *, double *)
 
void do_graph_label (Agraph_t *)
 
void final_energy (graph_t *, int)
 
double fpow32 (double)
 
Ppolyline_t getPath (edge_t *, vconfig_t *, int, Ppoly_t **, int)
 
void heapdown (Agnode_t *)
 
void heapup (Agnode_t *)
 
void initial_positions (graph_t *, int)
 
int init_port (Agnode_t *, Agedge_t *, char *, boolean)
 
void jitter3d (Agnode_t *, int)
 
void jitter_d (Agnode_t *, int, int)
 
Ppoly_tmakeObstacle (node_t *n, expand_t *)
 
void makeSelfArcs (path *P, edge_t *e, int stepx)
 
void makeSpline (graph_t *, edge_t *, Ppoly_t **, int, boolean)
 
void make_spring (graph_t *, Agnode_t *, Agnode_t *, double)
 
void move_node (graph_t *, int, Agnode_t *)
 
int init_nop (graph_t *g, int)
 
void neato_cleanup (graph_t *g)
 
node_tneato_dequeue (void)
 
void neato_enqueue (node_t *)
 
void neato_init_node (node_t *n)
 
void neato_layout (Agraph_t *g)
 
int Plegal_arrangement (Ppoly_t **polys, int n_polys)
 
void randompos (Agnode_t *, int)
 
void s1 (graph_t *, node_t *)
 
int scan_graph (graph_t *)
 
int scan_graph_mode (graph_t *G, int mode)
 
void free_scan_graph (graph_t *)
 
int setSeed (graph_t *, int dflt, long *seedp)
 
void shortest_path (graph_t *, int)
 
void solve (double *, double *, double *, int)
 
void solve_model (graph_t *, int)
 
int solveCircuit (int nG, double **Gm, double **Gm_inv)
 
void spline_edges (Agraph_t *)
 
void spline_edges0 (Agraph_t *)
 
int spline_edges1 (graph_t *g, int)
 
int splineEdges (graph_t *, int(*edgefn)(graph_t *, expand_t *, int), int)
 
void neato_set_aspect (graph_t *g)
 
void toggle (int)
 
int user_pos (Agsym_t *, Agsym_t *, Agnode_t *, int)
 
double ** new_array (int i, int j, double val)
 
void free_array (double **rv)
 
int matinv (double **A, double **Ainv, int n)
 

Macro Definition Documentation

#define extern

Definition at line 24 of file neatoprocs.h.

Function Documentation

int allow_edits ( int  )

Definition at line 751 of file stuff.c.

References AGERR, agerr(), diffeq_model(), FALSE, NULL, and TRUE.

void avoid_cycling ( graph_t ,
Agnode_t ,
double *   
)
int checkStart ( graph_t G,
int  nG,
int   
)

Definition at line 1210 of file neatoinit.c.

References agerr(), AGWARN, INIT_RANDOM, INIT_REGULAR, setSeed(), and srand48.

Referenced by initial_positions().

Agnode_t* choose_node ( graph_t ,
int   
)

Definition at line 535 of file stuff.c.

References GD_move, GD_neato_nlist, GD_sum_t, i, max, MAXDOUBLE, MaxIter, ND_pinned, Ndim, NULL, P_SET, and Verbose.

Referenced by solve_model().

int circuit_model ( graph_t ,
int   
)
void D2E ( Agraph_t ,
int  ,
int  ,
double *   
)

Referenced by move_node().

void diffeq_model ( graph_t ,
int   
)
double distvec ( double *  ,
double *  ,
double *   
)

Definition at line 35 of file stuff.c.

References dist(), and Ndim.

Referenced by diffeq_model(), and update_arrays().

void do_graph_label ( Agraph_t )
void final_energy ( graph_t ,
int   
)

Definition at line 529 of file stuff.c.

References GD_move.

double fpow32 ( double  )

Definition at line 29 of file stuff.c.

Referenced by D2E().

void free_array ( double **  rv)

Definition at line 65 of file stuff.c.

References free().

Referenced by circuit_model(), circuitModel(), free_scan_graph(), and lu_decompose().

void free_scan_graph ( graph_t )

Definition at line 316 of file stuff.c.

References free(), free_array(), GD_dist, GD_neato_nlist, GD_spring, GD_sum_t, GD_t, Nop, and NULL.

Referenced by neato_layout(), and user_pos().

Ppolyline_t getPath ( edge_t ,
vconfig_t ,
int  ,
Ppoly_t **  ,
int   
)

Definition at line 404 of file neatosplines.c.

References ED_head_port, ED_tail_port, ND_coord, ND_lim, Pobspath(), and POLYID_NONE.

Referenced by compoundEdges().

void heapdown ( Agnode_t )

Referenced by neato_dequeue().

void heapup ( Agnode_t )

Referenced by neato_enqueue(), and s1().

int init_nop ( graph_t g,
int   
)
int init_port ( Agnode_t ,
Agedge_t ,
char *  ,
boolean   
)
void initial_positions ( graph_t ,
int   
)
void jitter3d ( Agnode_t ,
int   
)

Referenced by randompos(), and user_pos().

void jitter_d ( Agnode_t ,
int  ,
int   
)

Referenced by jitter3d(), and user_pos().

void make_spring ( graph_t ,
Agnode_t ,
Agnode_t ,
double   
)

Referenced by s1().

Ppoly_t* makeObstacle ( node_t n,
expand_t  
)
void makeSelfArcs ( path P,
edge_t e,
int  stepx 
)

Definition at line 228 of file neatosplines.c.

References Concentrate, ED_count, ED_label, ED_to_virt, free(), i, makePortLabels(), makeSelfEdge(), N_GNEW, and updateBB().

Referenced by compoundEdges().

void makeSpline ( graph_t ,
edge_t ,
Ppoly_t **  ,
int  ,
boolean   
)
int matinv ( double **  A,
double **  Ainv,
int  n 
)

Definition at line 46 of file matinv.c.

References free(), i, lu_decompose(), lu_solve(), and N_NEW.

Referenced by solveCircuit().

void move_node ( graph_t ,
int  ,
Agnode_t  
)

Referenced by solve_model().

void neato_cleanup ( graph_t g)

Definition at line 169 of file neatoinit.c.

node_t* neato_dequeue ( void  )

Definition at line 673 of file stuff.c.

References heapdown(), i, ND_heapindex, and NULL.

Referenced by s1().

void neato_enqueue ( node_t )

Definition at line 661 of file stuff.c.

References assert, heapup(), i, and ND_heapindex.

Referenced by s1().

void neato_init_node ( node_t n)

Definition at line 44 of file neatoinit.c.

References common_init_node(), GD_flip, GD_ndim, gv_nodesize(), N_NEW, ND_pos, and TRUE.

Referenced by fdp_init_node_edge(), and user_pos().

void neato_layout ( Agraph_t g)
void neato_set_aspect ( graph_t g)

Definition at line 937 of file neatosplines.c.

References agfstnode(), agnxtnode(), ND_coord, and ND_pos.

Referenced by fdp_layout(), init_nop(), and spline_edges0().

double** new_array ( int  i,
int  j,
double  val 
)

Definition at line 48 of file stuff.c.

References i, and N_NEW.

Referenced by circuit_model(), circuitModel(), lu_decompose(), and scan_graph_mode().

int Plegal_arrangement ( Ppoly_t **  polys,
int  n_polys 
)
void randompos ( Agnode_t ,
int   
)

Referenced by initial_positions().

void s1 ( graph_t ,
node_t  
)
int scan_graph ( graph_t )

Definition at line 311 of file stuff.c.

References MODE_KK, and scan_graph_mode().

Referenced by init_nop().

int scan_graph_mode ( graph_t G,
int  mode 
)
int setSeed ( graph_t ,
int  dflt,
long *  seedp 
)

Definition at line 1143 of file neatoinit.c.

References agget(), agset(), INIT_RANDOM, INIT_REGULAR, INIT_SELF, NULL, RANDOM, REGULAR, SLEN, and SMART.

Referenced by checkStart(), and fdp_initParams().

void shortest_path ( graph_t ,
int   
)

Definition at line 691 of file stuff.c.

References agfstnode(), agnxtnode(), elapsed_sec(), free(), N_NEW, s1(), start_timer(), and Verbose.

void solve ( double *  ,
double *  ,
double *  ,
int   
)

Definition at line 23 of file solve.c.

References asub, free(), i, and N_GNEW.

Referenced by move_node().

void solve_model ( graph_t ,
int   
)

Definition at line 447 of file stuff.c.

References agerr(), AGWARN, choose_node(), elapsed_sec(), Epsilon, GD_move, MaxIter, move_node(), and Verbose.

int solveCircuit ( int  nG,
double **  Gm,
double **  Gm_inv 
)

Definition at line 22 of file circuit.c.

References i, matinv(), and Verbose.

Referenced by circuit_model(), and circuitModel().

void spline_edges ( Agraph_t )
void spline_edges0 ( Agraph_t )

Referenced by init_nop(), and spline_edges().

int spline_edges1 ( graph_t g,
int   
)

Definition at line 695 of file neatosplines.c.

References splineEdges().

Referenced by spline_edges0().

int splineEdges ( graph_t ,
int(*)(graph_t *, expand_t *, int)  edgefn,
int   
)
void toggle ( int  )
int user_pos ( Agsym_t ,
Agsym_t ,
Agnode_t ,
int   
)