Fixed the generation spring in new networkmaps.

This commit is contained in:
mdtrooper 2016-05-09 12:31:18 +02:00
parent 529ea387b6
commit e57d08fd73
1 changed files with 4 additions and 2 deletions

View File

@ -403,6 +403,8 @@ class Networkmap extends Map {
$filename_plain = sys_get_temp_dir() . "/plain.txt";
switch ($this->generation_method) {
case MAP_GENERATION_CIRCULAR:
$graphviz_command = "circo";
@ -414,10 +416,10 @@ class Networkmap extends Map {
$graphviz_command = "twopi";
break;
case MAP_GENERATION_SPRING1:
$graphviz_command = "spring1";
$graphviz_command = "neato";
break;
case MAP_GENERATION_SPRING2:
$graphviz_command = "spring2";
$graphviz_command = "fdp";
break;
}