The Alluvial diagram should support a way to add content as node headers through <slot>s.
Problem/motivation
Currently, the Alluvial diagram supports text node headers through options.nodeHeaders.
This option expects an array of strings, with the same length as the node depths. While this is good and works for a lot of cases, there are some specific cases where you might want something more than just a text label. For instance, an icon with contextual information.
Feature description
The Alluvial diagram should support a way to add content as node headers through
<slot>
s.Problem/motivation
Currently, the Alluvial diagram supports text node headers through
options.nodeHeaders
. This option expects an array of strings, with the same length as the node depths. While this is good and works for a lot of cases, there are some specific cases where you might want something more than just a text label. For instance, an icon with contextual information.Describe alternatives you've considered
No response
Additional context
No response
Validations