-
Notifications
You must be signed in to change notification settings - Fork 19
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
Set stroke width for parent groups #8
Comments
The d3-voronoi-treemap uses a d3-hierarchy as the main structure to handle parent/child relationships of your data. Thus, when drawing a cell, you can make the 'stroke-width' depending on the 'depth' or the 'height' of your node within the d3-hierarchy. Take a look d3-hierarchy to know what kind of property will fit your needs, and the last 3 loc of the below code:
|
Closing because it's not an issue with d3-voronoi-treemap, but more on its usage. |
Hello,
How is it possible to change stroke width for every groups?
The text was updated successfully, but these errors were encountered: