[llvm-commits] CVS: llvm/include/Support/DOTGraphTraits.h

Brian Gaeke gaeke at cs.uiuc.edu
Wed May 5 01:10:06 PDT 2004


Changes in directory llvm/include/Support:

DOTGraphTraits.h updated: 1.8 -> 1.9

---
Log message:

Move the stuff that fixes the size, orientation & fonts of graphs to
the debugging functions that call "dot". These fixed settings have
various problems: for example, the fixed size that is set in the graph
traits classes is not appropriate for turning the dot file into a PNG,
and if TrueType font rendering is being used, the 'Courier' TrueType font
may not be installed. It seems easy enough to specify these things on the
command line, anyhow.


---
Diffs of the changes:  (+2 -3)

Index: llvm/include/Support/DOTGraphTraits.h
diff -u llvm/include/Support/DOTGraphTraits.h:1.8 llvm/include/Support/DOTGraphTraits.h:1.9
--- llvm/include/Support/DOTGraphTraits.h:1.8	Tue Nov 11 16:41:29 2003
+++ llvm/include/Support/DOTGraphTraits.h	Wed May  5 01:10:06 2004
@@ -33,11 +33,10 @@
   static std::string getGraphName(const void *Graph) { return ""; }
 
   /// getGraphProperties - Return any custom properties that should be included
-  /// in the top level graph structure for dot.  By default, we resize the graph
-  /// to fit on a letter size page.
+  /// in the top level graph structure for dot.
   ///
   static std::string getGraphProperties(const void *Graph) {
-    return "\tsize=\"7.5,10\";\n";    // Size to fit on a page
+    return "";
   }
 
   /// getNodeLabel - Given a node and a pointer to the top level graph, return





More information about the llvm-commits mailing list