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

Allow graphviz-image to output image in different formats. #854

Merged
merged 1 commit into from Apr 11, 2022

Conversation

dbrumann
Copy link
Collaborator

Tested locally (macOS) with svg, jpg & pdf and worked fine. When picking a format that is not valid, graphviz will conveniently tell us the supported formats:

 [ERROR]                                                                                                                
                                                                                                                        
         Output formatter graphviz-image threw an Exception:                                                            
                                                                                                                        
         Message: Unable to display output: An error occurred while creating the graph; GraphViz returned: Format:      
         "html" not recognized. Use one of: bmp canon cgimage cmap cmapx cmapx_np dot dot_json eps exr fig gd gd2 gif gv
         icns ico imap imap_np ismap jp2 jpe jpeg jpg json json0 mp pct pdf pic pict plain plain-ext png pov ps ps2 psd 
         sgi svg svgz tga tif tiff tk vdx vml vmlz vrml wbmp webp xdot xdot1.2 xdot1.4 xdot_json                                                                                                                  

@dbrumann dbrumann merged commit 4f0ff68 into qossmic:main Apr 11, 2022
@dbrumann dbrumann deleted the graphviz_other_formats branch April 11, 2022 14:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant