int trySplines = 0;
int et = EDGE_TYPE(g);
- if (et != ET_LINE) {
+ if (et > ET_ORTHO) {
if (et == ET_COMPOUND) {
trySplines = splineEdges(g, compoundEdges, ET_SPLINE);
/* When doing the edges again, accept edges done by compoundEdges */
if (HAS_CLUST_EDGE(g)) {
agerr(AGWARN,
"splines and cluster edges not supported - using line segments\n");
+ et = ET_LINE;
} else {
spline_edges1(g, et);
}
Nop = 0;
}
if (State < GVSPLINES)
- spline_edges1(g, ET_LINE);
+ spline_edges1(g, et);
}
void fdp_layout(graph_t * g)