From aff582ed6741b2947eb5753535083b5f8222bfd5 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 7 Nov 2023 21:10:27 +0800 Subject: [PATCH] tmp --- ses_layout.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 91f2804..a5f0074 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -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; -- 2.25.1