Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
37 stars 1 forks source link

Static node offset #314

Closed joao-m-santos closed 9 months ago

joao-m-santos commented 9 months ago

Feature description

Allow for setting an offset property in each alluvial node (dataset) that forces the offset value between said node and its previous node (previous in its column).

This property would overwrite the d3-sankey nodePadding option for only the nodes that have it.

Problem/motivation

In order to avoid confusing link overlaps, there are cases where it's better to set a hard offset distance between nodes.

Describe alternatives you've considered

Additional context

This is useful together with custom curve functions.

Validations