phylotree.js icon indicating copy to clipboard operation
phylotree.js copied to clipboard

Is it possible to register a zoom callback on the tree?

Open thomasstjerne opened this issue 2 years ago • 1 comments

I was wondering whether it is possible to register a zoom callback on the tree? And also if it is possible to render the tree, starting at a specific zoom level?

thomasstjerne avatar Nov 13 '23 11:11 thomasstjerne

Dear @thomasstjerne,

Thank you for your suggestion. Yes, registering a zoom callback is possible via the d3.zoom module and it would be called here.

Starting at a specific zoom level is a good idea and is possible. It would allow developers to highlight a specific part of the tree that way.

Best, Steven

stevenweaver avatar Nov 13 '23 15:11 stevenweaver