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

Implementing Left-to-Right Orientation for Kedro-Viz #2159

Open
1 task
rashidakanchwala opened this issue Oct 29, 2024 · 5 comments
Open
1 task

Implementing Left-to-Right Orientation for Kedro-Viz #2159

rashidakanchwala opened this issue Oct 29, 2024 · 5 comments

Comments

@rashidakanchwala
Copy link
Contributor

rashidakanchwala commented Oct 29, 2024

Description

As ETL/ELT pipelines are commonly represented in left-to-right orientations, adding flexibility to Kedro-Viz’s layout could improve usability and make the tool more adaptable to various visualization needs. Currently, the top-to-bottom orientation is widely used; however, introducing a left-to-right orientation option would align with industry standards for ETL/ELT diagrams, offering a more intuitive display for data engineering workflows.

A choice between orientations can accommodate varied user preferences and context-specific needs. For example, top-to-bottom views may suit deeply nested, hierarchical data pipelines, while left-to-right views can better represent sequential data transformations.

Integrating both orientations in Kedro-Viz allows users to tailor the visualization to their pipeline’s structure, enhancing flexibility and supporting a broader range of data visualization needs. This feature would make Kedro-Viz an even more powerful tool for pipeline visualization in data-centric applications.

Possible Implementation

Clicking on the [A] icon allows you to switch orientation
https://rashidakanchwala.github.io/test-orientation/?types=nodes,datasets&expandAllPipelines=false&pid=__default__

If you need more context, this issue is related to a closed issue #1609

Checklist

  • Include labels so that we can categorise your feature request
@datajoely
Copy link
Contributor

❤️ this

@rashidakanchwala rashidakanchwala changed the title Implementing Left-to-Right Orientation for Kedro-viz Implementing Left-to-Right Orientation for Kedro-Viz Oct 29, 2024
@datajoely
Copy link
Contributor

So I think this is welcome, but it's also clear that we could have designed things slightly different if we were going from scratch.

Some thoughts:

1. The layout engine is doing some funky things with a simple project like Spaceflights

image

2. I think the default user experience should be more focused, the bird's eye view is useless

  • The node names are very wide already, this is amplified on the horizontal orientation and I'm not sure wordwrapping gets us a much better experience.
  • I almost think horizontal view needs to be focused on a subset of the DAG and then the user navigates laterally
  • This is quite a cool video on a similar journey
image

@astrojuanlu
Copy link
Member

  1. I think the default user experience should be more focused, the bird's eye view is useless

I agree. Instead of fit-width, maybe we could try fit-height. But then obviously we have to pick whether the default view should be centered, to the left, or to the right. And make sure the user knows where do they have to scroll to see the rest.

@stephkaiser

@astrojuanlu astrojuanlu moved this from Inbox to Backlog in Kedro-Viz Nov 4, 2024
@astrojuanlu
Copy link
Member

@rashidakanchwala will anonymise feedback and dump it here (and I'll do the same when I get some)

@rashidakanchwala
Copy link
Contributor Author

rashidakanchwala commented Nov 4, 2024

User Feedback
User 1 That's a super good idea. Personally, when I explain a workflow, I always prefer telling the story from left to right. It makes the sense of progression moving toward value creation. It's less the case when moving up to down. Thanks for this feature!
User 2 I've had someone ask me about this. And this would be great for my wide monitor!
User 3 My preference is for top-down at first sight, to be honest. It works well though the flipping, but I am more a fan of top-down.
User 4 Think it looks great, and I'd expect that a lot of users would prefer this to a vertical flow. And the ability to switch layout is very nice.
User 5 This is such a nice feature, especially for my ultrawide screen! I like the idea of left-right orientation.

Feature request:
- Allow a mix of top-down and left-right orientation.
- User selects an overall initial orientation (left-right vs top-down).
- User selects the nodes through a rectangular selection tool.
- User chooses a toggle to convert the selection to the desired orientation.
- User repeats steps 2 and 3 for an arbitrary selection of nodes.

Result:
A mix of top-down and left-right orientation.
Other Users Besides, this 4 other users reacted to this feature with a love emoticon.

@astrojuanlu , @stephkaiser

@rashidakanchwala rashidakanchwala moved this from Backlog to Todo in Kedro-Viz Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

4 participants