aboutsummaryrefslogtreecommitdiffstats
path: root/include/Support/DOTGraphTraits.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-05 06:10:06 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-05 06:10:06 +0000
commit6178085cfd772f62c641234bec156240281e7cf4 (patch)
treec85d381b94ae0c4cee12ccfdffdd464cb55fb85f /include/Support/DOTGraphTraits.h
parent48b008db57cf1ffabf949364622c9ecfe0ec85c4 (diff)
downloadexternal_llvm-6178085cfd772f62c641234bec156240281e7cf4.zip
external_llvm-6178085cfd772f62c641234bec156240281e7cf4.tar.gz
external_llvm-6178085cfd772f62c641234bec156240281e7cf4.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support/DOTGraphTraits.h')
-rw-r--r--include/Support/DOTGraphTraits.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/Support/DOTGraphTraits.h b/include/Support/DOTGraphTraits.h
index 63837b7..7dbc4ff 100644
--- a/include/Support/DOTGraphTraits.h
+++ b/include/Support/DOTGraphTraits.h
@@ -33,11 +33,10 @@ struct DefaultDOTGraphTraits {
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