Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <time.h>
#include <unistd.h>
#include <ctype.h>
#include "neato.h"
#include "pack.h"
#include "stress.h"
#include "kkutils.h"
#include "pointset.h"
Go to the source code of this file.
Macros | |
#define | srand48 srand |
#define | BS "%lf,%lf,%lf,%lf" |
#define | SLEN(s) (sizeof(s)-1) |
#define | SMART "self" |
#define | REGULAR "regular" |
#define | RANDOM "random" |
#define | exp_name "stresswt" |
Enumerations | |
enum | pos_edge { NoEdges, SomeEdges, AllEdges } |
Functions | |
void | neato_init_node (node_t *n) |
int | user_pos (attrsym_t *posptr, attrsym_t *pinptr, node_t *np, int nG) |
void | neato_cleanup (graph_t *g) |
int | init_nop (Agraph_t *g, int adjust) |
int | setSeed (graph_t *G, int dflt, long *seedp) |
int | checkStart (graph_t *G, int nG, int dflt) |
void | neato_layout (Agraph_t *g) |
#define BS "%lf,%lf,%lf,%lf" |
Definition at line 425 of file neatoinit.c.
#define exp_name "stresswt" |
Definition at line 1003 of file neatoinit.c.
#define RANDOM "random" |
Definition at line 946 of file neatoinit.c.
Referenced by setSeed().
#define REGULAR "regular" |
Definition at line 945 of file neatoinit.c.
Referenced by setSeed().
Definition at line 943 of file neatoinit.c.
Referenced by setSeed().
#define SMART "self" |
Definition at line 944 of file neatoinit.c.
Referenced by setSeed().
#define srand48 srand |
Definition at line 33 of file neatoinit.c.
Referenced by checkStart().
enum pos_edge |
Enumerator | |
---|---|
NoEdges | |
SomeEdges | |
AllEdges |
Definition at line 366 of file neatoinit.c.
Definition at line 1025 of file neatoinit.c.
References agerr(), AGWARN, INIT_RANDOM, INIT_REGULAR, setSeed(), and srand48.
Referenced by initial_positions().
Definition at line 528 of file neatoinit.c.
References adjustNodes(), agattr(), agerr(), AGERR, agfindgraphattr, agfstnode(), agget(), agnameof(), agnxtnode(), AGRAPH, AllEdges, compute_bb(), FALSE, GD_bb, GD_drawing, GD_label, GD_neato_nlist, GVSPLINES, hasPos, mapBool(), ND_coord, ND_pos, ND_xlabel, neato_set_aspect(), neato_translate(), NoEdges, Nop, POINTS_PER_INCH, R_NONE, scan_graph(), spline_edges0(), State, and xdotBB().
Referenced by neato_layout().
void neato_cleanup | ( | graph_t * | g | ) |
Definition at line 142 of file neatoinit.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), gv_cleanup_edge(), and gv_cleanup_node().
void neato_init_node | ( | node_t * | n | ) |
Definition at line 42 of file neatoinit.c.
References agbindrec(), agraphof(), common_init_node(), GD_flip, GD_ndim, gv_nodesize(), N_NEW, ND_pos, and TRUE.
void neato_layout | ( | Agraph_t * | g | ) |
Definition at line 1407 of file neatoinit.c.
References agdelete(), agdelrec(), agerr(), agget(), AGPREV, CL_OFFSET, compute_bb(), pack_info::doSplines, ET_LINE, FALSE, pack_info::fixed, free_scan_graph(), get_inputscale(), getPack(), getPackModeInfo(), graphAdjustMode(), gv_postprocess(), init_nop(), l_node, l_undef, mapBool(), pack_info::margin, pack_info::mode, N_NEW, nodeInduce(), Nop, packGraphs(), pccomps(), POINTS_PER_INCH, PSinputscale, removeOverlapWith(), setEdgeType(), spline_edges(), and TRUE.
Definition at line 958 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().
Definition at line 57 of file neatoinit.c.
References agerr(), AGERR, agnameof(), agxget(), FALSE, jitter3d(), jitter_d(), mapbool(), N_z, ND_pinned, ND_pos, Ndim, NULL, P_PIN, P_SET, PSinputscale, and TRUE.