langflow/tests/unit/graph
Ítalo Johnny aa1958a4ad
feat: refactor graph vertex sorting (#2583)
* refactor: extract method from class to new func

* test: add new tests

* refactor: simplify funcs to improve readability

* refactor: extract new func from larger func

* refactor: remove recursion from func

* refactor: remove coupling with graph and vertex

* refactor: create adapter funcs to use new code

* refactor: add test for sorting up to vertex N with is_start=True

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-07-10 07:37:39 -07:00
..
graph feat: refactor graph vertex sorting (#2583) 2024-07-10 07:37:39 -07:00