Rendering graphs by output format
Rendering Graphviz output

Prev:Rendering graphs by layout engine


For each output format listed in https://graphviz.org/content/output-formats, the graphviz.render vocabulary defines a corresponding word that calls graphviz* with that format already supplied as an argument. For instance, instead of writing
graph path "png" graphviz*

you can simply write
graph path png


In the case of the dot output format (which already has the dot shortcut defined for the layout engine), the shortcut function is named dot-file.

The following words are defined:
bmp ( graph path -- )

canon ( graph path -- )

dot-file ( graph path -- )

xdot ( graph path -- )

cmap ( graph path -- )

eps ( graph path -- )

fig ( graph path -- )

gd ( graph path -- )

gd2 ( graph path -- )

gif ( graph path -- )

ico ( graph path -- )

imap ( graph path -- )

cmapx ( graph path -- )

imap_np ( graph path -- )

cmapx_np ( graph path -- )

ismap ( graph path -- )

jpg ( graph path -- )

jpeg ( graph path -- )

jpe ( graph path -- )

pdf ( graph path -- )

plain ( graph path -- )

plain-ext ( graph path -- )

png ( graph path -- )

ps ( graph path -- )

ps2 ( graph path -- )

svg ( graph path -- )

svgz ( graph path -- )

tif ( graph path -- )

tiff ( graph path -- )

vml ( graph path -- )

vmlz ( graph path -- )

vrml ( graph path -- )

wbmp ( graph path -- )

webp ( graph path -- )