diff options
Diffstat (limited to 'library/Pbs/Graph.php')
| -rw-r--r-- | library/Pbs/Graph.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/library/Pbs/Graph.php b/library/Pbs/Graph.php index ae3ab16..fc21336 100644 --- a/library/Pbs/Graph.php +++ b/library/Pbs/Graph.php @@ -14,7 +14,11 @@ class Pbs_Graph{ $this->graphstring = 'digraph groups { - size="5,5";'; + size="5,5"; + graph[ bgcolor=transparent ]; + node [ style=filled fillcolor="#ffffffff" ]; + "'.$this->getGroupTitle($groupID).'" [ fontcolor="#ffffffff", style=filled, fillcolor="#003592FF"]; + '; $this->getParentGroups($groupID); $this->getChildGroups($groupID); $this->graphstring .= '}'; @@ -23,7 +27,7 @@ class Pbs_Graph{ $str = 'echo "'; $str .= $this->graphstring; - $str .= '" | dot -Tpng '; + $str .= '" | dot -Tpng '; passthru($str,$end); return $end; } |
