return 0;
}
-int ses_lines_no_components(ScfEfunction* f, ses_graph_t* graph)
+int ses_lines_diff_components(ScfEfunction* f, ses_graph_t* graph)
{
if (!f || !graph)
return -EINVAL;
intptr_t j;
scf_loge("\n");
- ses_lines_no_components(f, graph);
+ ses_lines_diff_components(f, graph);
if (0 < graph->size) {
v = graph->data[0];
v = graph->data[i];
el = v->data;
- scf_loge("i: %ld, l%ld->color: %ld\n", i, el->id, el->color);
+ scf_logi("j: %ld, i: %ld, l%ld->color: %ld\n", j, i, el->id, el->color);
}
scf_vector_clear(graph, ( void (*)(void*) )ses_vertex_free);
if (f->n_elines <= 2)
return 0;
+ __ses_layout_lines3(f);
+
size_t m;
size_t n;
}
#endif
-#if 1
for (i = 0; i < f->n_elines; i++) {
el0 = f->elines[i];
el0->n_lines = 0;
+ }
+
+#if 0
+ for (i = 0; i < f->n_elines; i++) {
+ el0 = f->elines[i];
scf_logw("el0: %ld, n_conns: %ld, n_pins: %ld, flags: %#lx\n", el0->id, el0->n_conns, el0->n_pins, el0->flags);
qsort(f->elines, f->n_elines, sizeof(ScfEline*), eline_cmp_id);
- ses_cross(f, d);
+// ses_cross(f, d);
__ses_de_cross(f, d);