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

export_svg crops node labels #6

Open
alcooj opened this issue Apr 11, 2018 · 0 comments
Open

export_svg crops node labels #6

alcooj opened this issue Apr 11, 2018 · 0 comments

Comments

@alcooj
Copy link

alcooj commented Apr 11, 2018

Hi, Rich.

Thanks for creating this package.

Would it be possible to add an argument to export_svg to increment the svg width? Some of my node labels are longer than the node shape (by intention); it seems that the function only considers the nodes when it tries to figure out the size of the canvas. In effect, long labels on nodes near the image's borders get cropped.

My current workaround is to grab the svg xml text and manually edit the svg width in an svg editor prior to rendering.

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