Can I use only one graph in a page ?

From semantic-mediawiki.org

Hi, When I ask for two graphs in the same page, both are the same. E.g. the following should be different:

{{#ask: [[Category:Bases psychopédagogiques des technologies éducatives]]
|? page suivante
| format=graph
| graphcolor=yes
| graphlink=yes
| nodeshape=box
| graphname=Liens entre modules
| graphlegend=yes
| graphlabel=yes
| graphsize=10,500
| rankdir=TB 
}}


{{#ask: [[Category:Bases psychopédagogiques des technologies éducatives]]
|? page suivante
|? page parente
| format=graph
| graphcolor=yes
| graphlink=yes
| nodeshape=box
| graphname=Liens entre modules 2
| graphlegend=yes
| graphlabel=yes
| graphsize=10,500
| rankdir=TB 
}}

Looking at the graphviz file names. It only creates one file as opposed to two.

-rw-r--r--  1 www-data www-data 117730 oct  1 19:08 SandBoxdigraph  .png
-rw-r--r--  1 www-data www-data   2340 oct  1 19:08 SandBoxdigraph  .map

In principle, Graphviz can do more than one drawing on a page.

SRF Version (latest from GIT master, 1.9 alpha)

Online example (wiki is public read / difficult signup)

- greetings ! Daniel PS: If you don't have time for fixing it (sorry my programming is too weak to help), we could add this limit to the documentation page.

18:21, 1 October 2013

The problem is in SRFGraph::getParamDefinitions (SRF_Graph.php). The solution is to change the first instance of "graphsize" to "graphname" in this function (making $params['graphname'] agree with 'srf_paramdesc_graphname').

01:51, 18 June 2014