wolffd@0: wolffd@0: wolffd@0:
wolffd@0:
wolffd@0: cmd [ flags ] [ input files ] |
wolffd@0: Depending on how Graphviz was built, there may be multiple renderers for wolffd@0: generating a particular output format, and multiple formatters for wolffd@0: creating the final output. For example, a typical installation wolffd@0: can produce PNG wolffd@0: output using either the Cairo or GD library. The desired rendering engine wolffd@0: can be specified after a colon. If there are multiple formatting engines wolffd@0: available, the desired one can be specified in a similar fashion after wolffd@0: the rendering engine. Thus, -Tpng:cairo specifies PNG wolffd@0: output produced by Cairo (using the Cairo's default formatter), and wolffd@0: -Tpng:cairo:gd specifies PNG wolffd@0: output produced by Cairo formatted using the GD library. wolffd@0:
wolffd@0: If no renderer is specified, or a renderer but no formatter, the default one wolffd@0: is invoked. The flag -Tformat: produces a list of all wolffd@0: of the renderers available for the specified format, the first one wolffd@0: listed with a prefix matching format being the default. wolffd@0: Using the -v flag, described below, will print which format, wolffd@0: renderer, and formatter are actually used. wolffd@0:
For PostScript output, they are treated as file names wolffd@0: whose content will be included in the preamble after the standard preamble. wolffd@0: If library is the empty string "", the standard preamble wolffd@0: is not emitted. wolffd@0:
-y
flag is used, the coordinate system is inverted,
wolffd@0: so that increasing values of y correspond to movement from top to bottom.
wolffd@0: wolffd@0: Note that the -G, wolffd@0: -N and wolffd@0: -E flags override any initial attribute declarations wolffd@0: in the input graph, wolffd@0: i.e., those attribute statements appearing before any node, edge or wolffd@0: subgraph definitions. wolffd@0: In addition, these flags cause the related attributes to be permanently wolffd@0: attached to the graph. Thus, if attributed dot is used for wolffd@0: output, the graph will have these attributes. wolffd@0:
wolffd@0: SERVER_NAME=xxx GV_FILE_PATH="images/" dot -Tpng -o x.png x.dot
wolffd@0:
wolffd@0: