51 if (sscanf(p,
"%lf,%lf%c", pvec, pvec + 1, &c) >= 2) {
54 for (j = 0; j < NDIM; j++)
63 "Warning: node %s, position %s, expected two floats\n",
Memory allocation wrappers that exit on failure.
static void * gv_calloc(size_t nmemb, size_t size)
void processClusterEdges(graph_t *g)
bool mapbool(const char *p)
void common_init_node(node_t *n)
double late_double(void *obj, attrsym_t *attr, double defaultValue, double minimum)
void common_init_edge(edge_t *e)
void gv_nodesize(node_t *n, bool flip)
void fdp_cleanup(graph_t *g)
static void fdp_cleanup_graph(graph_t *g)
static void cleanup_subgs(graph_t *g)
static void init_node(node_t *n)
static void init_edge(edge_t *e, attrsym_t *E_len)
void fdp_init_node_edge(graph_t *g)
static void initialPositions(graph_t *g)
struct fdpParms_s * fdp_parms
int agnnodes(Agraph_t *g)
Agsym_t * agattr(Agraph_t *g, int kind, char *name, const char *value)
creates or looks up attributes of a graph
char * agxget(void *obj, Agsym_t *sym)
Agedge_t * agfstout(Agraph_t *g, Agnode_t *n)
Agedge_t * agnxtout(Agraph_t *g, Agedge_t *e)
#define GD_neato_nlist(g)
Agnode_t * agnxtnode(Agraph_t *g, Agnode_t *n)
Agnode_t * agfstnode(Agraph_t *g)
Agraph_t * agraphof(void *obj)
char * agnameof(void *)
returns a string descriptor for the object.
void aginit(Agraph_t *g, int kind, const char *rec_name, int rec_size, int move_to_front)
attach new records to objects of specified kind
void * agbindrec(void *obj, const char *name, unsigned int recsize, int move_to_front)
attaches a new record of the given size to the object
void free_label(textlabel_t *p)
void gv_cleanup_edge(Agedge_t *e)
void gv_cleanup_node(Agnode_t *n)