diff --git a/app/libs/wiki_client.rb b/app/libs/wiki_client.rb index 80a70cf..be70834 100644 --- a/app/libs/wiki_client.rb +++ b/app/libs/wiki_client.rb @@ -56,13 +56,14 @@ def self.generate_thumbnail phrase, links=[] destination end + # Generate a exportable picture from 'links' around a root node 'phrase'. def self.generate_picture phrase, links=[], destination mygraph = self.graph({ phrase: phrase, links: links, - graph: {"bgcolor" => "transparent"}, + graph: {"bgcolor" => "white"}, node: {"color" => "white", "style" => "filled"}, edge: {"arrowhead" => "vee"} })