Skip to content

Add ability to vertically top align nodes in Sankey #6575

Description

@dbnl-kat

Is your feature request related to a problem? Please describe.
Right now, all nodes of a certain depth are justified to fill the vertical height. It's useful to be able to have nodes "stick" to the top when representing sequential processes where vertical position can reinforce the natural reading order.

Describe the solution you'd like
Ability to pass in prop for vertical alignment.

Describe alternatives you've considered
Currently unable to control vertical alignment with recharts Sankey.

Additional context
An example of vertical top alignment in analytics tools like Amplitude:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to a current APIfeature requestIssues that are feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions