Browse code

working around an issue noticed with mvGST. More info will be provided.

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rgraphviz@101619 bc3139a8-67e5-0310-9ffc-ced21a209358

d.tenenbaum authored on 30/03/2015 20:36:14
Showing2 changed files

... ...
@@ -2,7 +2,7 @@ Package: Rgraphviz
2 2
 Title: Provides plotting capabilities for R graph objects
3 3
 Description: Interfaces R with the AT and T graphviz library for
4 4
         plotting R graph objects from the graph package.
5
-Version: 2.11.1
5
+Version: 2.11.2
6 6
 Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("cre", "aut"),
7 7
                     email = "kasperdanielhansen@gmail.com"),
8 8
              person("Jeff", "Gentry", role = "aut"),
... ...
@@ -127,7 +127,7 @@ drawAgNode <- function(node) {
127 127
 
128 128
   if (fg == "") fg <- "black"
129 129
   bg <- fillcolor(node)
130
-  if (bg == "") {
130
+  if (bg %in% c("", "none")) {
131 131
       if (style == "filled") bg <- "grey"
132 132
       else bg <- "transparent"
133 133
   }