tmp
authoryu.dongliang <18588496441@163.com>
Tue, 7 Nov 2023 13:10:27 +0000 (21:10 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 7 Nov 2023 13:10:27 +0000 (21:10 +0800)
ses_layout.c

index 91f2804b17264c6f4ada70585e2f22a6dc510cce..a5f00744344a50861a68d6fc14a6971ffbeaa49f 100644 (file)
@@ -1337,9 +1337,15 @@ int ses_layout_function(ScfEfunction* f, int d)
        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);
 
-       int ret = __ses_layout_lines(f, d);
+       ret = __ses_layout_lines(f, d);
        if (ret < 0)
                return ret;
 
@@ -1720,7 +1726,7 @@ int ses_layout_board(ScfEboard* b)
                        return ret;
                }
 
-               ses_steps_analyse(f, 5, 1);
+//             ses_steps_analyse(f, 5, 1);
 
                x = f->x;
                y = f->y;