}
#if ((defined(HAVE_GTS) || defined(HAVE_TRIANGLE)) && defined(SFDP))
-static int
-fdpAdjust (graph_t* g, adjust_data* am)
-{
+static void fdpAdjust(graph_t *g, adjust_data *am) {
SparseMatrix A0 = makeMatrix(g, NULL);
SparseMatrix A = A0;
double *sizes;
double *pos = gv_calloc(Ndim * agnnodes(g), sizeof(double));
Agnode_t *n;
- int flag = 0, i;
+ int i;
expand_t sep = sepFactor(g);
pointf pad;
if (A != A0)
SparseMatrix_delete(A);
SparseMatrix_delete (A0);
-
- return flag;
}
#endif
break;
#if ((defined(HAVE_GTS) || defined(HAVE_TRIANGLE)) && defined(SFDP))
case AM_PRISM:
- ret = fdpAdjust(G, am);
+ fdpAdjust(G, am);
+ ret = 0;
break;
#endif
#ifdef IPSEPCOLA