summaryrefslogtreecommitdiff
path: root/Dot.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-08 18:26:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-08 18:26:38 -0400
commit81e045a539e5877d445abaa53783f94f4e17513a (patch)
tree26713aada4c764787d7c3519b1ed9c98fa14d197 /Dot.hs
parentc1b69d1511cd9a6d63981f74f6d926d59dba7c8c (diff)
tweak
Diffstat (limited to 'Dot.hs')
-rw-r--r--Dot.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dot.hs b/Dot.hs
index a21d70536..592b21f69 100644
--- a/Dot.hs
+++ b/Dot.hs
@@ -45,6 +45,7 @@ subGraph :: String -> String -> String -> String -> String
subGraph subid l color s =
"subgraph " ++ name ++ " {\n" ++
ii setlabel ++
+ ii setfilled ++
ii setcolor ++
ii s ++
indent "}"
@@ -52,6 +53,7 @@ subGraph subid l color s =
-- the "cluster_" makes dot draw a box
name = quote ("cluster_" ++ subid)
setlabel = "label=" ++ quote l
+ setfilled = "style=" ++ quote "filled"
setcolor = "fillcolor=" ++ quote color
ii x = (indent $ indent x) ++ "\n"