Fixed the generation spring in new networkmaps.
This commit is contained in:
parent
529ea387b6
commit
e57d08fd73
|
@ -403,6 +403,8 @@ class Networkmap extends Map {
|
||||||
|
|
||||||
$filename_plain = sys_get_temp_dir() . "/plain.txt";
|
$filename_plain = sys_get_temp_dir() . "/plain.txt";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch ($this->generation_method) {
|
switch ($this->generation_method) {
|
||||||
case MAP_GENERATION_CIRCULAR:
|
case MAP_GENERATION_CIRCULAR:
|
||||||
$graphviz_command = "circo";
|
$graphviz_command = "circo";
|
||||||
|
@ -414,10 +416,10 @@ class Networkmap extends Map {
|
||||||
$graphviz_command = "twopi";
|
$graphviz_command = "twopi";
|
||||||
break;
|
break;
|
||||||
case MAP_GENERATION_SPRING1:
|
case MAP_GENERATION_SPRING1:
|
||||||
$graphviz_command = "spring1";
|
$graphviz_command = "neato";
|
||||||
break;
|
break;
|
||||||
case MAP_GENERATION_SPRING2:
|
case MAP_GENERATION_SPRING2:
|
||||||
$graphviz_command = "spring2";
|
$graphviz_command = "fdp";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue