-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
SVG output file is not portable #102
Comments
Hi @PrateekKumarSingh , Glad to find this Azviz tool for our project, it is really helpful. But we found a limitation above ^^ Could you please help see if our proposal is good for Azviz? Thanks! |
I applied this fix to my project and it worked like a charm! Thanks |
Thanks rebelinux! CC @crabtree ^^. |
I rendered the diagram using the SVG output. Unfortunately it references the png icons, so it will not display correctly without AzViz module installed. The possible solution to solve the problem, is to render the diagram using icons embedded using the base64 encoding. Unfortunately
graphviz
does not support base64 encoded images - I first tried such implementation which can be found here.I finally managed to workaround the problem replacing the icons paths in the SVG file to its base64 encoded versions (the implementation). I can open the PR if you don't mind the workaround.
I think this also sorts out the problem described in #97
The text was updated successfully, but these errors were encountered: