-
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
Manually set the initial position #7
Comments
I rephrase your first comment in order to be sure to well understand it. Your use case is:
==> your need is to be able to update the already computed Voronoï treemap in order to reflect the new v' values Am I right? |
Thanks very much for your reply.
Yes, it is exactly what I want.
…________________________________
From: LEBEAU Franck <[email protected]>
Sent: Thursday, February 21, 2019 6:01:50 PM
To: Kcnarf/d3-voronoi-treemap
Cc: #WANG YANCHAO#; Author
Subject: Re: [Kcnarf/d3-voronoi-treemap] Manually set the initial position (#7)
I rephrase your first comment in order to be sure to well understand it.
Your use case is:
1. you have n data, each with their own v value
2. you compute a first Voronoï treemap
3. you update the values of your data: you still have the same n data, but now each defining v' value
==> your need is to be able to update the already computed Voronoï treemap in order to reflect the new v' values
==> you propose to introduce an initial position API, so that you can compute a second Voronoï treemap by reusing the position of the first Voronoï treemap
Am I right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVcg91DOUnLy3j965GMQXvIgu0-OO6byks5vPm6OgaJpZM4Z5F1Q>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Is it possible to have an API to set the initial position of each node? I understand that this d3-voronoi-treemap is based your previous d3-voronoi-map. The reason to add this API is that your current voronoi treemap is not suitable for dynamic hierarchical data.
My current solution is to set the .prng to a seedable PRNG for dynamic hierarchical data and generate them separately. I don't think it is an efficient way to update the voronoi treemap.
Thanks.
The text was updated successfully, but these errors were encountered: