Re: [graphviz-interest] Confused about attributes for graphviz version 2.34.0 (20131125.0033)

John Ellson <[email protected]> Sun, 01 Dec 2013 16:35:31 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
Ron,

The output from "dot -T" corresponds to the formats supported by the
locally available plugins.    It can be a subset of the formats from all
possible plugins if some are not installed locally (or fail to
dynamically load.)

-Tgv is an alias for -Tdot,  added fairly recently when we registered
.gv as a filename extension for files in the DOT language.  (In an
attempt to avoid collisions with MS Word's .dot files).

Its possible that http://graphviz.org/content/output-formats is out of
date, but the set returned by "dot -T" will always be valid for the
local installation.

Note that there can be multiple implementations of renderers,  so, for
example, "dot -Tpng:?"  will list all PNG renderers available locally. 
The first listed is the one chosen by default.

John


On 11/30/2013 07: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.
>

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest