From 55d8a4fc015a0714be11c962b7a3250475fe6c0b Mon Sep 17 00:00:00 2001 From: Josua Koschwitz Date: Fri, 27 Jan 2012 16:09:09 +0100 Subject: [PATCH] hintergrund der exportierten datei jetzt weiss statt transparent - im programm ist der mindmaphintergrund nach wie vor transparent --- app/libs/wiki_client.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"} })