From 54da768d5baa1e9ef8035406cafbbbf374a1a3d5 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 1 Nov 2010 20:43:24 +0000 Subject: [PATCH] Remove uses of .dot from contrib --- contrib/dotmcl.pl | 6 +++--- contrib/java-dot/example/SimpleGraph.java | 2 +- contrib/lefty-grace/README | 2 +- contrib/lefty-grace/dotty_ui.lefty | 2 +- contrib/prune/CMakeLists.txt | 2 +- contrib/prune/Makefile.am | 2 +- contrib/prune/prune.1 | 8 ++++---- contrib/prune/{test.dot => test.gv} | 0 contrib/webdot.cgi | 8 ++++---- 9 files changed, 16 insertions(+), 16 deletions(-) rename contrib/prune/{test.dot => test.gv} (100%) diff --git a/contrib/dotmcl.pl b/contrib/dotmcl.pl index 513b99cf1..283af60ee 100644 --- a/contrib/dotmcl.pl +++ b/contrib/dotmcl.pl @@ -1,9 +1,9 @@ #!perl -w -# dotmcl.pl +# dotmcl.pl # the bigger, the more clusters (values from 1.2 to 3.0) -# dot in file to clusterize -# dot out file with clusters added +# dot in file to clusterize +# dot out file with clusters added # Vladimir Alexiev # This quick hack takes a dot graph description file, adds clusters using the diff --git a/contrib/java-dot/example/SimpleGraph.java b/contrib/java-dot/example/SimpleGraph.java index 19cbc540b..006efc6b9 100644 --- a/contrib/java-dot/example/SimpleGraph.java +++ b/contrib/java-dot/example/SimpleGraph.java @@ -25,7 +25,7 @@ public class SimpleGraph public static void main (String [] args) { DotGraph dot = new DotGraph ("Sample Graph", // Graph Title - "sample.dot", // Output file name + "sample.gv", // Output file name GRAPH_DEFAULT, // Graph (default) attributes NODE_DEFAULT, // node defaults EDGE_DEFAULT); // edge defaults diff --git a/contrib/lefty-grace/README b/contrib/lefty-grace/README index 4d0e11a62..9bbaffdfa 100644 --- a/contrib/lefty-grace/README +++ b/contrib/lefty-grace/README @@ -21,7 +21,7 @@ Enhancements to the dotty interface: figured out how to encode/restore fold info to/from the graph file) - Added save prompt for current graph on 'load graph' menu selection - Rudimentary "hyperlink" - click on node and select "load subgraph" - from the menu to load and display ./{nodename}.dot graph. Can + from the menu to load and display ./{nodename}.gv graph. Can navigate back to immediate parent thru menu selection. '+' also goes to parent, '-' to subgraph of a node. Was not able to store parent information in graph spec file, so a graph has to be diff --git a/contrib/lefty-grace/dotty_ui.lefty b/contrib/lefty-grace/dotty_ui.lefty index 825f0bc84..d3bcf625f 100644 --- a/contrib/lefty-grace/dotty_ui.lefty +++ b/contrib/lefty-grace/dotty_ui.lefty @@ -292,7 +292,7 @@ dotty.protogt.actions.node = [ gt.savegraph (gt, gt.name, gt.type, 1); pname = gt.name; - fname = concat (obj.name, '.dot'); + fname = concat (obj.name, '.gv'); ngt = dotty.protogt.creategraph (null); ngt.graphattr.parent = pname; diff --git a/contrib/prune/CMakeLists.txt b/contrib/prune/CMakeLists.txt index 141d8fb8a..da0a7a4c6 100644 --- a/contrib/prune/CMakeLists.txt +++ b/contrib/prune/CMakeLists.txt @@ -68,6 +68,6 @@ INSTALL_FILES( FILES #.1.pdf: # groff -Tps -man $< | ps2pdf - - >$@ # -#EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old Makefile.orig README test.dot +#EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old Makefile.orig README test.gv # #DISTCLEANFILES = $(pdf_DATA) diff --git a/contrib/prune/Makefile.am b/contrib/prune/Makefile.am index 4545c6471..ecc2e9b18 100644 --- a/contrib/prune/Makefile.am +++ b/contrib/prune/Makefile.am @@ -23,7 +23,7 @@ prune_LDADD = $(top_builddir)/lib/ingraphs/libingraphs_C.la \ .1.pdf: - @GROFF@ -Tps -man $< | @PS2PDF@ - - >$@ -EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old Makefile.orig README test.dot prune.vcproj +EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old Makefile.orig README test.gv prune.vcproj DISTCLEANFILES = $(pdf_DATA) diff --git a/contrib/prune/prune.1 b/contrib/prune/prune.1 index bd967d6e4..fb7cb6edf 100644 --- a/contrib/prune/prune.1 +++ b/contrib/prune/prune.1 @@ -57,7 +57,7 @@ is a string of the form .SH EXAMPLES An input graph -.I test.dot +.I test.gv of the form .PP digraph DG { @@ -77,7 +77,7 @@ of the form , processed by the command .PP - prune \-n B test.dot + prune \-n B test.gv .PP would produce the following output (the actual code might be formatted in a slightly different way). @@ -92,7 +92,7 @@ in a slightly different way). .br Another input graph -.I test.dot +.I test.gv of the form .PP digraph DG { @@ -120,7 +120,7 @@ to .I E ), processed by the command .PP - prune \-n B \-N color=red test.dot + prune \-n B \-N color=red test.gv .PP results in .PP diff --git a/contrib/prune/test.dot b/contrib/prune/test.gv similarity index 100% rename from contrib/prune/test.dot rename to contrib/prune/test.gv diff --git a/contrib/webdot.cgi b/contrib/webdot.cgi index e8c0c652a..6baf9f5f6 100755 --- a/contrib/webdot.cgi +++ b/contrib/webdot.cgi @@ -14,10 +14,10 @@ # The output type must be one of dot's output types. The server # returns a layout of the requested type as an HTTP stream. The dot # output type is mapped to an appropriate MIME type. -# For example, if yourhost.company.com/unix.dot is a dot graph file, try -# webdot.cgi http://yourhost.company.com/unix.dot.dot.ps -# webdot.cgi http://yourhost.company.com/unix.dot.neato.gif -# webdot.cgi http://yourhost.company.com/unix.dot.twopi.pdf +# For example, if yourhost.company.com/unix.gv is a dot graph file, try +# webdot.cgi http://yourhost.company.com/unix.gv.dot.ps +# webdot.cgi http://yourhost.company.com/unix.gv.neato.gif +# webdot.cgi http://yourhost.company.com/unix.gv.twopi.pdf # # More details: # PDF and EPSI files are made by postprocessors. -- 2.40.0