At present, the recognized style names comprise
"dashed", "dotted", "solid", "invis" and "bold" for nodes and edges,
and "filled", "diagonals" and "rounded" for nodes only.
- The styles "filled" and "rounded" are recognized for clusters.
Additional styles are available in
device-dependent form. Style lists are passed to device drivers, which
can use this to generate appropriate output.
int haveLen;
int haveWt;
int haveDir;
- int dfltConstr;
PointMap *ps = newPM();
int i, i_nedges, idx;
#ifdef DIGCOLA
if (haveDir) {
graph[i].edists = edists++;
- /* if g is directed, use edge direction by default
- * if g is undirected, don't.
- */
- if (AG_IS_DIRECTED(g)) dfltConstr = 1;
- else dfltConstr = 0;
}
else
graph[i].edists = NULL;
*ewgts++ = 1.0;
#ifdef DIGCOLA
if (haveDir) {
- if (late_bool(ep,E_constr,dfltConstr))
*edists++ = (np == ep->head ? 1.0 : -1.0);
- else
- *edists++ = 0.0;
}
#endif
i_nedges++;
coords[i] = coords[0] + i * nv;
}
if (Verbose) {
- fprintf(stderr, "mode %d model %d smart_init %d iterations %d tol %f\n",
- mode, model, (init == INIT_SELF), MaxIter, Epsilon);
+ fprintf(stderr, "model %d smart_init %d iterations %d tol %f\n",
+ model, (init == INIT_SELF), MaxIter, Epsilon);
fprintf(stderr, "convert graph: ");
start_timer();
}