https://kedro.org/ logo
#questions
Title
# questions
f

Francis Duval

01/22/2024, 4:37 PM
Hello! Do you know why Kedro viz complicates the graph by making arrows cross each other when they shouldn't? Example:

https://github.com/francisduval/to_delete/blob/main/Capture.PNG

K 2
n

Nok Lam Chan

01/22/2024, 4:39 PM
Could you point out which specific part you are referring to?
f

Francis Duval

01/22/2024, 4:39 PM
Yes! The node "Results" downstream "Base Batchnorm Dropout" should be right below.
n

Nok Lam Chan

01/22/2024, 4:41 PM
I see. As far as I understand, kedro-viz render graph with its own optimisation algorithm. We tried our best to handle these line crossover but it turns out to be tricky to handle all edge cases.
👍 1
f

Francis Duval

01/22/2024, 4:42 PM
Oh I get it, these algorithms must be complicated, thanks! Maybe it's not even possible to always get an optimal solution...
n

Nok Lam Chan

01/22/2024, 4:44 PM
This is indeed one of the most complicated bit of kedro-viz. The engine was developed quite a while ago, it is documented here if you are interested. https://github.com/kedro-org/kedro-viz/blob/main/LAYOUT_ENGINE.md
👍 1
6 Views