N = v->edges->size;
}
+ scf_vector_t* paths = scf_vector_alloc();
+ int ret = __ses_topo_paths(f, paths);
+ if (ret < 0)
+ return ret;
for (j = N; j >= 1; j--) {
f->w = 0;
f->h = 0;
- scf_vector_t* paths = scf_vector_alloc();
-
- int ret = __ses_topo_paths(f, paths);
- if (ret < 0)
- return ret;
-
qsort(f->elines, f->n_elines, sizeof(ScfEline*), eline_cmp);
- ret = __ses_layout_lines(f, d);
+ int ret = __ses_layout_lines(f, d);
if (ret < 0)
return ret;