Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php |
— | — | @@ -14,6 +14,7 @@ |
15 | 15 | * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
16 | 16 | */ |
17 | 17 | class SRFGraph extends SMWResultPrinter { |
| 18 | + |
18 | 19 | public static $NODE_SHAPES = array( |
19 | 20 | 'box', |
20 | 21 | 'box3d', |
— | — | @@ -107,7 +108,6 @@ |
108 | 109 | |
109 | 110 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
110 | 111 | global $wgGraphVizSettings; |
111 | | - $wgGraphVizSettings = new GraphVizSettings; |
112 | 112 | $this->isHTML = true; |
113 | 113 | |
114 | 114 | $graphInput = "digraph $this->m_graphName {"; |
Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php |
— | — | @@ -168,7 +168,6 @@ |
169 | 169 | // GraphViz settings |
170 | 170 | // |
171 | 171 | global $wgGraphVizSettings; |
172 | | - $wgGraphVizSettings = new GraphVizSettings; |
173 | 172 | $this->isHTML = true; |
174 | 173 | |
175 | 174 | |