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] SVG Export Option #20

Open
TopVirusMinus opened this issue Nov 6, 2024 · 0 comments
Open

[Feature Request] SVG Export Option #20

TopVirusMinus opened this issue Nov 6, 2024 · 0 comments

Comments

@TopVirusMinus
Copy link

Hello @brpapa,

First, I want to say that your project is fantastic! I've been using it extensively, and it’s been extremely valuable.

I’d like to propose a feature that could further enhance the user experience: enabling the recursion tree visualization to be exported as an SVG file. An SVG format would be ideal for allowing users to zoom in/out and annotate the tree, which is especially useful when working with large or complex trees where clarity and detailed viewing are essential.

While attempting a workaround, I tried saving the element to an svg file and added the following line:

<svg 
    version="1.1" 
    xmlns="http://www.w3.org/2000/svg" 
    xmlns:xlink="http://www.w3.org/1999/xlink" 
    viewBox="0 0 3925 1150" 
    class="sc-a04eed4-0 cUjhDT"
>
...
</svg>

However, this approach resulted in a distorted view (see the attached image). I suspect the issue may be related to the class attribute, which could be causing unexpected rendering behavior.
image

Thank you for considering this, and I’m excited to see the amazing updates you’ll bring to the project!

Keep up the fantastic work!

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

1 participant