Thomas SchlesingerJune 29, 2016 at 7:46 am #6274
Im playing around with the awesome weighted tree. http://vizuly.io/product/weighted-tree/?demo=d3js
Is it possible to implement a zoom and move around function?
As it is here in this example? http://bl.ocks.org/robschmuecker/7880033
The question is: How complicated would this be?vizulyJune 29, 2016 at 9:13 am #6277
Yes, this is possible, and not too terribly complicated.
You would want to use the d3 zoom behavior (https://github.com/d3/d3-3.x-api-reference/blob/master/Zoom-Behavior.md)
I would recommend attaching the
zoomcall to the background element (so it picks up all the mouse events) and then on the
onZoomevent translating the
gelement in the
I have built in similar functionality for other clients with custom components.
– TomSohailOctober 19, 2016 at 10:01 am #6523
I was wondering if i can redesign your visual in some other application, can you share me the github link where i can see the code. Thank you!
SohailvizulyOctober 19, 2016 at 10:04 am #6524
You are welcome to incorporate any of our open source components per the flexible MIT license.
In order to get the source code you need to provide your email address via the download link on the given component and a link will be sent to you via email. The code is not hosted on GitHub.
TomSohailOctober 20, 2016 at 5:11 am #6525
Thank you Tom, for your prompt response. 🙂
You must be logged in to reply to this topic.