Add new getGraphProperties that may be specialized by graphs
[oota-llvm.git] / include / Support / GraphWriter.h
index 01851d512f37983c6ff043cb3d21c158b8e2cc36..7742aff40e8d6a266b281a917e9237a191023c94 100644 (file)
@@ -55,8 +55,7 @@ std::ostream &WriteGraph(std::ostream &O, const GraphType &G) {
   typedef typename GTraits::NodeType NodeType;
 
   O << "digraph foo {\n"         // Graph name doesn't matter
-    << "\tsize=\"10,7.5\";\n"    // Size to fit on a page
-    << "\trotate=\"90\";\n";     // Orient correctly
+    << "\tsize=\"7.5,10\";\n";   // Size to fit on a page
 
   std::string GraphName = DOTTraits::getGraphName(G);
   if (!GraphName.empty())