]> granicus.if.org Git - graphviz/commitdiff
Remove .dot uses from most documentation
authorerg <devnull@localhost>
Tue, 2 Nov 2010 20:11:49 +0000 (20:11 +0000)
committererg <devnull@localhost>
Tue, 2 Nov 2010 20:11:49 +0000 (20:11 +0000)
doc/Dot.ref
doc/FAQ.html
doc/dotguide/dotguide.tex
doc/dotguide/ndotguide.tex
doc/dotty/progs/progfa.tex
doc/dotty/section1.tex
doc/fontfaq.txt
doc/infosrc/command.html
doc/infosrc/outputs
doc/neato/neato.tex

index 866550637a03db68d90c9ed3cdbf4b7db86175f9..edf7096c9f0d653f0bc777e35c3f5edcbb9b4fdd 100644 (file)
@@ -746,7 +746,7 @@ cmap
      form of the output, e.g. in JPEG or GIF format, to attach links
      to nodes and edges. For example, given the dot file
 
-       /* x.dot */
+       /* x.gv */
        digraph G {
          URL="http://www.research.att.com/";
          command [URL="command.html"];
index 8e8bb8c6f0242c1dcc2f98d88a7013229547d961..486ff5b5eb1d23cb96fa8feecdfb7895de1a39bb 100644 (file)
@@ -556,7 +556,7 @@ Typically this error is reported as:
 >> context:  >>>  <<< digraph G {
 >> dotty.lefty: giving up on dot
 >> dotty.lefty: graph that causes dot
->> dotty.lefty: to fail has been saved in file dottybug.dot
+>> dotty.lefty: to fail has been saved in file dottybug.gv
 </pre>
 Probably there is a command in your shell environment (such as
 .alias or .profile) that does output even for non-interactive shells.
@@ -614,7 +614,7 @@ file.
 
 Then run <tt>neato -s -n2</tt>. For example:
 <pre>
-neato -s -n2 -Tgif file.dot -o file.gif
+neato -s -n2 -Tgif file.gv -o file.gif
 </pre>
 Note that if an edge does not have a <TT>pos</TT> attribute
 defined, neato will perform whatever edge routing it would
@@ -630,7 +630,7 @@ It's not really too convenient to use dot for this.
 It is possible to use neato for this,
 running neato -s -n For example:
 <pre>
-neato -s -n -Tgif file.dot -o file.gif
+neato -s -n -Tgif file.gv -o file.gif
 </pre>
 neato will use the node positions, but use its technique
 for routing the edges. There are several things to note. First,
@@ -679,7 +679,7 @@ and that it is not commented out!
 but when I execute a Perl/CGI script through Apache, no output is generated.</A>
 For example, the code
 <tt>
-system("/usr/local/bin/dot -Tpng /tmp/tree.dot -o /tmp/tree.png");
+system("/usr/local/bin/dot -Tpng /tmp/tree.gv -o /tmp/tree.png");
 </tt>
 produces no file <tt>/tmp/tree.png</tt>.</B>
 <P>
@@ -852,8 +852,8 @@ of the nodes. It is quite possible that if you run neato again,
 but with a different random seed value,
 or more iterations, you'll get a better layout.  For example:
 <pre>
-neato -Gstart=5 file.dot -Tps -o file.ps
-neato -Gepsilon=.0000001 file.dot -Tps -o file.ps
+neato -Gstart=5 file.gv -Tps -o file.ps
+neato -Gepsilon=.0000001 file.gv -Tps -o file.ps
 </pre>
 <P>
 In particular, note that there are no guarantees that neato will produce
@@ -1053,9 +1053,9 @@ or
 <p>
 which deletes the Launch Services database and rebuilds it from existing apps. You may need to sudo to do this.
 <p>
-3.     Verify that the Graphviz.app can now open .dot files and Microsoft Word can still open its own .dot files.
+3.     Verify that the Graphviz.app can now open .gv files and Microsoft Word can still open its own .gv files.
 <p>
-One artifact of this will be that Microsoft .dot files may appear with the Graphviz document icon. Unfortunately there doesn't seem any a priori way of getting the system to determine whether an arbitrary .dot file belongs to Word or Graphviz -- you can choose which application to open with by right-clicking or control-clicking on the document icon and choosing the app.
+One artifact of this will be that Microsoft .gv files may appear with the Graphviz document icon. Unfortunately there doesn't seem any a priori way of getting the system to determine whether an arbitrary .gv file belongs to Word or Graphviz -- you can choose which application to open with by right-clicking or control-clicking on the document icon and choosing the app.
 <p>
 As for why the Launch Services database doesn't automatically register Graphviz,
 we're not entirely sure but suspect this only happens if both conditions
index c08c7f7cd368f7adbb200029658e0670d75c0c69..98afd1c4d18639528cb3895552d0c76960b548ee 100644 (file)
@@ -8,7 +8,7 @@
 \def\dag{{\it dag}}
 \def\DOT{{\it DOT}}
 \def\graphviz{{\it Graphviz}}
-\newcommand{\lastedited}{December 22, 2009}
+\newcommand{\lastedited}{November 2, 2010}
 \date{\lastedited}
 \newcommand{\mymark}{{\it dot} User's Manual, \lastedited \hfil }
 \markboth{\mymark}{\mymark}
@@ -121,9 +121,9 @@ A node is created when its name first appears in the file.
 An edge is created when nodes are joined by the edge operator \verb"->".
 In the example, line 2 makes edges from {\it main} to {\it parse},
 and from {\it parse} to {\it execute}.
-Running \dot\ on this file (call it \verb"graph1.dot")
+Running \dot\ on this file (call it \verb"graph1.gv")
 \begin{verbatim}
-    $ dot -Tps graph1.dot -o graph1.ps
+    $ dot -Tps graph1.gv -o graph1.ps
 \end{verbatim}
 yields the drawing of Figure~\ref{fig:drawing1}.
 The command line option \verb"-Tps" selects PostScript (EPSF) output. 
@@ -493,7 +493,7 @@ the following line in a file \verb"lib.ps".
 \end{verbatim}
 Use the \verb"-l" command line option to load this file.
 \begin{verbatim}
-    dot -Tps -l lib.ps file.dot -o file.ps
+    dot -Tps -l lib.ps file.gv -o file.ps
 \end{verbatim}
 
 The {\tt style} attribute controls miscellaneous graphics features of 
index 05f0eef40f39452c9394eea57ca3ea813d9aa96d..fa2bf8185281af18cee73da2fa3aff0813951b96 100644 (file)
@@ -124,9 +124,9 @@ A node is created when its name first appears in the file.
 An edge is created when nodes are joined by the edge operator \verb"->".
 In the example, line 2 makes edges from {\it main} to {\it parse},
 and from {\it parse} to {\it execute}.
-Running \dot\ on this file (call it \verb"graph1.dot")
+Running \dot\ on this file (call it \verb"graph1.gv")
 \begin{verbatim}
-    $ dot -Tps graph1.dot -o graph1.ps
+    $ dot -Tps graph1.gv -o graph1.ps
 \end{verbatim}
 yields the drawing of Figure~\ref{fig:drawing1}.
 The command line option \verb"-Tps" selects PostScript (EPSF) output. 
@@ -649,7 +649,7 @@ the following line in a file \verb"lib.ps".
 \end{verbatim}
 Use the \verb"-l" command line option to load this file.
 \begin{verbatim}
-    dot -Tps -l lib.ps file.dot -o file.ps
+    dot -Tps -l lib.ps file.gv -o file.ps
 \end{verbatim}
 
 The {\tt style} attribute controls miscellaneous graphics features of 
index cae74663bd756169dfae83e8e65169a3926ff46f..f68561948d3c7327ebd6c30d0d849de8b213c893 100644 (file)
@@ -24,7 +24,7 @@ fa.main = function () {
 
     gnvt = dotty.createviewandgraph (null, 'file', fa.protogt, fa.protovt);
     gt = gnvt.gt;
-    gt.loadgraph (gt, 'fa.dot', 'file', fa.protogt.graph, 1);
+    gt.loadgraph (gt, 'fa.gv', 'file', fa.protogt.graph, 1);
     fa.currstate = gt.graph.nodes[gt.graph.nodedict['start']];
     fa.loadtrans ('fa.trans');
     fa.setcurrcolor (gt, fa.currstate);
index 3c53bca1d9abeb39c4b725f9ca91c278d0c20240..1099f09a1c7b9d2fe6ee540e4a1fa6edbaf556cc 100644 (file)
@@ -30,7 +30,7 @@ explicitly.
 As an example, the user can start up {\DOTTY} and select \verb+load graph+ from
 the menu. Figure~\ref{figdotty1}a shows the \verb+DOTTY+ window and the dialog
 window that asks for the graph file name. In this example, the user asks for
-file \verb+d.dot+. Figure~\ref{figdotty1}b shows the result of the \verb+load
+file \verb+d.gv+. Figure~\ref{figdotty1}b shows the result of the \verb+load
 graph+ action.
 
 \begin{figure}[htb]
index b5d790b0b9828ec791543843ff8307727ae2b8d6..043df5d2fb88922c3898bf390baf4d95213809fa 100644 (file)
@@ -114,7 +114,7 @@ name translation.
 
 Font selection.  ===============
 
-The fontname attribute in .dot graphs is a fontconfig style specification.
+The fontname attribute in .gv graphs is a fontconfig style specification.
 From: http://www.fontconfig.org/fontconfig-user.html
 
        Fontconfig provides a textual representation for patterns that
@@ -165,7 +165,7 @@ How can I tell what fonts are available?
        $ fc-list
 
 How can I tell what fonts dot is using;
-       $ dot foo.dot -Tpng -o foo.png -v 2>&1 | grep font
+       $ dot foo.gv -Tpng -o foo.png -v 2>&1 | grep font
 
 How can I add a custom font?
   In the current version of Graphviz with fontconfig, Cairo and
index b0b4a811cc17d7fa0ff4a7773a2b9942994f8e25..11f99b618de26d2368ba04b8fe9cd45d0a87b7eb 100644 (file)
@@ -159,7 +159,7 @@ Note that sometimes, when using one of the layout programs in a web
 script, it is not enough to use an export command but rather the
 variables should be set when the command is run, for example,<BR>
 <CODE>
-SERVER_NAME=xxx GV_FILE_PATH="images:etc/images:/usr/share/images" dot -Tpng -o x.png x.dot
+SERVER_NAME=xxx GV_FILE_PATH="images:etc/images:/usr/share/images" dot -Tpng -o x.png x.gv
 </CODE>
 <P>
 Note that the image files must really reside in one of the specified directories. If the
index fd6c70e2d4e9975e852da63a000d39db5028becb..b0267f9f725e4ad50655019c2b823375ca85364a 100644 (file)
@@ -65,7 +65,7 @@ a graphical form of the output, e.g. in JPEG or GIF format, to attach
 links to nodes and edges. For example, to create a server-side map
 given the dot file
 <PRE>
-/* x.dot */
+/* x.gv */
 digraph mainmap {
   URL="http://www.research.att.com/base.html";
   command [URL="http://www.research.att.com/command.html"];
@@ -74,7 +74,7 @@ digraph mainmap {
 </PRE>
 one would process the graph and generate two output files:
 <PRE>
-dot -Timap -ox.map -Tgif -ox.gif x.dot
+dot -Timap -ox.map -Tgif -ox.gif x.gv
 </PRE>
 and then refer to it in a web page:
 <XMP>
@@ -82,7 +82,7 @@ and then refer to it in a web page:
 </XMP>
 For client-side maps, one again generates two output files:
 <PRE>
-dot -Tcmapx -ox.map -Tgif -ox.gif x.dot
+dot -Tcmapx -ox.map -Tgif -ox.gif x.gv
 </PRE>
 and uses the HTML
 <XMP>
index 20e5053a2483d8da778f2ee4f5ac47bc98007dc2..d6d52ed8d263584892d98ef8863fedf9cde16c39 100644 (file)
@@ -122,11 +122,11 @@ encode many-to-many dependencies.
 \begin{figure}[h]
 \begin{minipage}[b]{2in}
 \begin{verbatim}
-$ cat example.dot
+$ cat example.gv
 graph G {
     n0 -- n1 -- n2 -- n3 -- n0;
 }
-$ neato -Tps example.dot -o example.ps
+$ neato -Tps example.gv -o example.ps
 
 
 \end{verbatim}
@@ -213,7 +213,7 @@ generator. The layout is different for each seed, but still deterministic.
 If the value is not a number, the process ID or current time is used.
 Each run potentially yields a different drawing.  For example:
 \begin{verbatim}
-$ neato -Tps -Gstart=rand file.dot > file.ps
+$ neato -Tps -Gstart=rand file.gv > file.ps
 \end{verbatim}
 
 \subsection{Termination Threshold}
@@ -231,9 +231,9 @@ $\epsilon$ is set in the graph's \verb"epsilon" variable.
 You can also directly limit the number of iterations.
 It is convenient to do this on the command line:
 \begin{verbatim}
-$ neato -Tps -Gepsilon=.001 small.dot -o small.ps
-$ neato -Tps -Gepsilon=1.5 big.dot -o big.ps
-$ neato -Tps -Gmaxiter=1000 big.dot -o big.ps
+$ neato -Tps -Gepsilon=.001 small.gv -o small.ps
+$ neato -Tps -Gepsilon=1.5 big.gv -o big.ps
+$ neato -Tps -Gmaxiter=1000 big.gv -o big.ps
 \end{verbatim}
 
 \subsection{Edge Lengths and Weights}