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