Hello! Do you know why Kedro viz complicates the g...
# questions
f
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
Could you point out which specific part you are referring to?
f
Yes! The node "Results" downstream "Base Batchnorm Dropout" should be right below.
n
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
Oh I get it, these algorithms must be complicated, thanks! Maybe it's not even possible to always get an optimal solution...
n
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