Skip to content

Conversation

@solo29
Copy link

@solo29 solo29 commented Nov 12, 2023

This commit introduces two new configuration options, minNodeHeight and maxNodeHeight, allowing users to specify the minimum and maximum height for a node.

The addition of these options enhances the flexibility of our system by providing users with granular control over the vertical dimensions of individual nodes. This is particularly useful in scenarios where specific height constraints are necessary for layout and design considerations.

  • Added minNodeHeight option to set the minimum height of a node.
  • Added maxNodeHeight option to set the maximum height of a node.

Example Usage

const sankey = d3.sankey()
.nodeWidth(15)
.nodePadding(10)
.minNodeHeight(30)
.maxNodeHeight(90);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant