Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible arrangement of nodes #1609

Closed
astrojuanlu opened this issue Oct 26, 2023 · 7 comments
Closed

More flexible arrangement of nodes #1609

astrojuanlu opened this issue Oct 26, 2023 · 7 comments

Comments

@astrojuanlu
Copy link
Member

Description

It would be nice to be able to drag some nodes around for clarity, especially when exporting the visualization to a static PNG.

Also, maybe add a "left-to-right" auto layout? (Since most ETL/ELT diagrams I've seen are left-to-right - although of course this might have obvious cultural reasons)

Context

A user this week told me

"kedro viz is amazing, being able to see the layers, the functions, being able to see the entire structure of the project in a moment"

but

"I don't know if there is a way to sort the nodes in Kedro Viz"

Possible Implementation

Orchest had an "automatic layout" button you could use, but otherwise you were free to arrange nodes on a canvas: https://github.com/orchest/orchest/

image

@tynandebold tynandebold moved this to Inbox in Kedro-Viz Oct 26, 2023
@tynandebold tynandebold added the Javascript Pull requests that update Javascript code label Oct 26, 2023
@tynandebold
Copy link
Member

"I don't know if there is a way to sort the nodes in Kedro Viz"

What exactly did they mean by this? Sort them how or by what? Did they say anything more specific about what they'd like to see or be able to do?

@astrojuanlu
Copy link
Member Author

Yes, specifically there was some "entanglement" in his pipeline (not super big, but bigger than spaceflights) and he wanted to move some stuff around to better see the connections or manually displace some entanglements of his own choosing.

@astrojuanlu
Copy link
Member Author

Forgot to add, this was after talking to the author of https://github.com/pablovdcf/TFM_HADO_Cares cc @pablovdcf

@pablovdcf
Copy link

pablovdcf commented Oct 26, 2023

Hi all,

It seems to get tangled with each kedro viz and randomly generated (not sure) but for example, in the preprocessing pipeline I don't see that I can sort the DataFrame inputs and then they can be intertwined in the following steps.
image

I have no complaints about this part because it works the same way, but when displaying several processes horizontally you can't see many interlaced lines between steps.

Thank you very much

@tynandebold tynandebold moved this from Inbox to Backlog in Kedro-Viz Nov 6, 2023
@rashidakanchwala rashidakanchwala added Design: Research and removed Javascript Pull requests that update Javascript code labels Nov 9, 2023
@rashidakanchwala rashidakanchwala moved this from Backlog to Todo in Kedro-Viz Dec 11, 2023
@rashidakanchwala rashidakanchwala moved this from Todo to Backlog in Kedro-Viz Jan 8, 2024
@astrojuanlu
Copy link
Member Author

@rashidakanchwala rashidakanchwala self-assigned this Sep 16, 2024
@rashidakanchwala rashidakanchwala moved this from Backlog to In Progress in Kedro-Viz Sep 16, 2024
@rashidakanchwala rashidakanchwala moved this from In Progress to Done in Kedro-Viz Oct 10, 2024
@rashidakanchwala rashidakanchwala moved this from In Progress to Backlog in Kedro-Viz Oct 28, 2024
@rashidakanchwala
Copy link
Contributor

Closing this issue as I have created two specific issues related to the above - #2159, #2160

@github-project-automation github-project-automation bot moved this from Backlog to Done in Kedro-Viz Oct 29, 2024
@rashidakanchwala rashidakanchwala closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
@astrojuanlu
Copy link
Member Author

Plus the one we already had #2057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants