Re: [graphviz-interest] Confused about attributes for graphviz version 2.34.0 (20131125.0033)
"Emden R. Gansner" <[email protected]> Sun, 01 Dec 2013 14:29:52 -0500
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
On 11/30/13 7:25 PM, Ron Savage wrote:
> Hi
>
> If I run:
>
> ron@zigzag:~/perl.modules/GraphViz2$ dot -T?
>
> I get:
>
> Format: "?" not recognized. Use one of: bmp canon cmap cmapx cmapx_np
> dot eps fig gd gd2 gif gtk gv ico imap imap_np ismap jpe jpeg jpg pdf
> pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz vrml
> wbmp x11 xdot xdot1.2 xdot1.4 xlib
>
> Should this list match the list of output formats on this page:
>
> http://graphviz.org/content/output-formats
>
> For example, gv is in the first list but not the second.
>
> The context is a Perl module, GraphViz2
> (https://metacpan.org/release/GraphViz2), which is a wrapper around
> Graphviz, in which I validate parameters before calling any
> executables in Graphviz.
>
> I'm not sure which list I should use to check user parameters.
>
In terms of what is actually available in a given environment, the
output of dot -T? is the best one to use. All formats listed
on the web site may not be available depending on which plugins are
built and installed. By the way, if you are using the library
interface, you can access the plugin information using the gvPluginList
function.
In theory, the web site list should be a superset of what is actually on
a given installation, but I see that I neglected to add the
gv synonym for dot, and that various formats slipped in via the quartz
renderer. The web page has been updated. Thanks.
Emden
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest