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"; $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;
} }