Skip to content
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

[Feature Request] Allow panning/zooming of recursion tree #19

Open
tabishnaqvi1311 opened this issue Aug 13, 2024 · 4 comments
Open

[Feature Request] Allow panning/zooming of recursion tree #19

tabishnaqvi1311 opened this issue Aug 13, 2024 · 4 comments

Comments

@tabishnaqvi1311
Copy link

It would be great if there was a switch that would toggle some sort of "pan mode" allowing users to pan/zoom into the recursion tree, as large recursion trees have small text and it gets hard to read. Browser zoom is good but it would be better to have this as an option.

Example:
Screenshot 2024-08-13 at 10 57 04 AM

@devishraq
Copy link

Hi @brpapa!
I found this project interesting...I would like to implement that zooming in/out feature for this one....I am waiting for a green signal from you...Is this project still under active maintenance?

My suggested solution will be to make something like Figma has (though Figma's part is built with C++, I don't care!)...I want to implement such a zoom-in and out feature that you can use with your two fingers....yeah that conventional approach!...

I would be happy if you assign me this!
Thanks
ISHRAQ

@brpapa
Copy link
Owner

brpapa commented Aug 16, 2024

Hi @devishraq, feel free to open a PR. Being able to pan/zoom would be a really cool feature.
https://reactflow.dev/learn/concepts/the-viewport seems to be interesting.

@devishraq
Copy link

Thanks for the green light @brpapa! I appreciate the reactflow.dev suggestion. Before I start, I wanted to ask: would you prefer a custom solution for the pan/zoom feature, or should I use an existing package like react-flow?

@brpapa
Copy link
Owner

brpapa commented Aug 17, 2024

@devishraq I really liked react-flow because it is already widely used and actively maintained :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants