From: erg Date: Mon, 1 Nov 2010 20:34:30 +0000 (+0000) Subject: Remove most references to .dot from files under cmd X-Git-Tag: LAST_LIBGRAPH~32^2~1149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=590f880b35255899d62b20e73e6a1e4efe501b2f;p=graphviz Remove most references to .dot from files under cmd --- diff --git a/cmd/dot/cmap_tester.tcl b/cmd/dot/cmap_tester.tcl index 2bde46e06..5b5e4893f 100755 --- a/cmd/dot/cmap_tester.tcl +++ b/cmd/dot/cmap_tester.tcl @@ -6,7 +6,7 @@ # usage example: # # -# ./dot -Tpng -o example.png -Tcmapx -o example.cmapx < example.dot +# ./dot -Tpng -o example.png -Tcmapx -o example.cmapx < example.gv # ./cmap_tester.tcl example | xv - diff --git a/cmd/dot/dot.1 b/cmd/dot/dot.1 index 4bc719512..caf18fd31 100644 --- a/cmd/dot/dot.1 +++ b/cmd/dot/dot.1 @@ -169,7 +169,7 @@ The first plugin listed is always the default. .P The \fB\-P\fP switch can be used to produce a graph of all output variants supported by plugins in the local installation of graphviz. .SH GRAPH FILE LANGUAGE -Here is a synopsis of the graph file language, traditionally using the extension \fB.dot\fR, for graphs: +Here is a synopsis of the graph file language, normally using the extension \fB.gv\fR, for graphs: .PP [\fBstrict\fR] (\fBgraph\fR|\fBdigraph\fR) \fIname\fP { \fIstatement\(hylist\fP }\fR .br diff --git a/cmd/dot/osage.1 b/cmd/dot/osage.1 index 142b9177a..73cbd4fbf 100644 --- a/cmd/dot/osage.1 +++ b/cmd/dot/osage.1 @@ -60,7 +60,7 @@ Alternative plugins providing support for a given output format can be found from the error message resulting from appending a ':' to the format. e.g. \fB-Tpng:\fP The first plugin listed is always the default. .SH GRAPH FILE LANGUAGE -Here is a synopsis of the graph file language, traditionally using the extension \fB.gv\fR or \fB.dot\fR, for graphs: +Here is a synopsis of the graph file language, normally using the extension \fB.gv\fR, for graphs: .PP [\fBstrict\fR] (\fBgraph\fR|\fBdigraph\fR) \fIname\fP { \fIstatement\(hylist\fP }\fR .br diff --git a/cmd/dotty/dotty_layout.lefty b/cmd/dotty/dotty_layout.lefty index c70eedacc..9f8283ba7 100644 --- a/cmd/dotty/dotty_layout.lefty +++ b/cmd/dotty/dotty_layout.lefty @@ -72,14 +72,14 @@ dotty.protogt.finishlayout = function (gt) { dotty.releaselserver (gt.lserver, lpt.fd, 'bad'); if (gt.layoutpending == 2) { dotty.message (0, concat ('giving up on ', gt.lserver)); - if ((fd = openio ('file', 'dottybug.dot', 'w+')) >= 0) { + if ((fd = openio ('file', 'dottybug.gv', 'w+')) >= 0) { writegraph (fd, gt.graph, 0); closeio (fd); dotty.message ( 0, concat ('graph that causes ', gt.lserver) ); dotty.message ( - 0, 'to fail has been saved in file dottybug.dot' + 0, 'to fail has been saved in file dottybug.gv' ); dotty.message ( 0, 'please fill out a bug report at' diff --git a/cmd/gvpr/gvpr.1 b/cmd/gvpr/gvpr.1 index 32306c9f1..2e2984f67 100644 --- a/cmd/gvpr/gvpr.1 +++ b/cmd/gvpr/gvpr.1 @@ -998,7 +998,7 @@ for the role of \fB$tvroot\fP. .ta \w'\f(CWdelete array[expression]'u .RS .nf -\fBgvpr \-i 'N[color=="blue"]' file.dot\fP +\fBgvpr \-i 'N[color=="blue"]' file.gv\fP .fi .RE .DT @@ -1008,7 +1008,7 @@ Generate the node\(hyinduced subgraph of all nodes with color blue. .ta \w'\f(CWdelete array[expression]'u .RS .nf -\fBgvpr \-c 'N[color=="blue"]{color = "red"}' file.dot\fP +\fBgvpr \-c 'N[color=="blue"]{color = "red"}' file.gv\fP .fi .RE .DT diff --git a/cmd/tools/gvcolor.1 b/cmd/tools/gvcolor.1 index 2355166ff..c48fc37ed 100644 --- a/cmd/tools/gvcolor.1 +++ b/cmd/tools/gvcolor.1 @@ -12,7 +12,7 @@ gvcolor \- flow colors through a ranked digraph ] .SH "USAGE" .ft 5 -dot file.dot | gvcolor | dot \-T\fI\fP +dot file.gv | gvcolor | dot \-T\fI\fP .ft .SH DESCRIPTION .B gvcolor diff --git a/cmd/tools/gvpack.1 b/cmd/tools/gvpack.1 index 7e715b411..1e0cab8de 100644 --- a/cmd/tools/gvpack.1 +++ b/cmd/tools/gvpack.1 @@ -98,9 +98,9 @@ returns if there were no problems, and non\(hyzero otherwise. .SH EXAMPLES .EX -ccomps \-x abc.dot | dot | gvpack | neato \-s \-n2 \-Tps +ccomps \-x abc.gv | dot | gvpack | neato \-s \-n2 \-Tps .EE -This pipeline decomposes the graph in \fIabc.dot\fP into its +This pipeline decomposes the graph in \fIabc.gv\fP into its connected components, lays out each using \fBdot\fP, packs them all together again, and produces the final drawing in PostScript. Of course, there is nothing to prevent one from using different layouts for diff --git a/cmd/tools/gxl2gv.1 b/cmd/tools/gxl2gv.1 index d80136813..beff6c9df 100644 --- a/cmd/tools/gxl2gv.1 +++ b/cmd/tools/gxl2gv.1 @@ -30,7 +30,7 @@ GV language. Unless a conversion type is specified using a flag, .B gxl2gv will deduce the type of conversion from the suffix of -the input file, a ".gv" (or a ".dot") suffix causing a conversion from GV +the input file, a ".gv" suffix causing a conversion from GV to GXL, and a ".gxl" suffix causing a conversion from GXL to GV. If no suffix is available, e.g. when the input is from a pipe, and no flags are used then