From 439aa36e3f2cf5b540a1424b2e341ba593191b97 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 22 Oct 2013 11:17:51 -0400 Subject: [PATCH] Update output format documentation to provide more info on xdot formats and versions. --- doc/info/output.html | 10 +++++++++- doc/infosrc/outputs | 8 ++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/info/output.html b/doc/info/output.html index 3f3e81035..21c712780 100644 --- a/doc/info/output.html +++ b/doc/info/output.html @@ -37,6 +37,8 @@ formats need to be interpreted in this manner. canon
dot
xdot +
xdot1.2 +
xdot1.4 DOT cmap Client-side imagemap (deprecated) @@ -103,6 +105,8 @@ formats need to be interpreted in this manner.
canon ,
dot ,
xdot +,
xdot1.2 +,
xdot1.4
These formats produce output in the dot language. Using canon produces a prettyprinted version of the input, @@ -135,10 +139,14 @@ The xdot format extends the how graph components are drawn. It relies on additional attributes for nodes, edges and graphs.

-The format is preliminary; comments and +The format is fluid; comments and suggestions for better representations are welcome. To allow for changes in the format, Graphviz attaches the attribute xdotversion to the graph. +If the xdotversion attribute is set in the input graph, the renderer +will only output features supported by that version. Note that the formats xdot1.2 +and xdot1.4 are equivalent to setting xdotversion=1.2 and xdotversion=1.4, +respectively.

Additional drawing attributes can appear on nodes, edges, clusters and on the graph itself. There are six new attributes: diff --git a/doc/infosrc/outputs b/doc/infosrc/outputs index 7f2e8a1fc..a96c8b720 100644 --- a/doc/infosrc/outputs +++ b/doc/infosrc/outputs @@ -152,7 +152,7 @@ Produce SVG output, the latter in compressed format.

See Note. -:canon/dot/xdot:DOT +:canon/dot/xdot/xdot1.2/xdot1.4:DOT These formats produce output in the dot language. Using canon produces a prettyprinted version of the input, @@ -185,10 +185,14 @@ The xdot format extends the how graph components are drawn. It relies on additional attributes for nodes, edges and graphs.

-The format is preliminary; comments and +The format is fluid; comments and suggestions for better representations are welcome. To allow for changes in the format, Graphviz attaches the attribute xdotversion to the graph. +If the xdotversion attribute is set in the input graph, the renderer +will only output features supported by that version. Note that the formats xdot1.2 +and xdot1.4 are equivalent to setting xdotversion=1.2 and xdotversion=1.4, +respectively.

Additional drawing attributes can appear on nodes, edges, clusters and on the graph itself. There are six new attributes: -- 2.40.0