# 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 -
.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
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
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'
.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
.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
]
.SH "USAGE"
.ft 5
-dot file.dot | gvcolor | dot \-T\fI<format>\fP
+dot file.gv | gvcolor | dot \-T\fI<format>\fP
.ft
.SH DESCRIPTION
.B gvcolor
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
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