From e57d08fd73fc7497925faf94a4e126fc126603e7 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 9 May 2016 12:31:18 +0200 Subject: [PATCH] Fixed the generation spring in new networkmaps. --- pandora_console/include/class/Networkmap.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/class/Networkmap.class.php b/pandora_console/include/class/Networkmap.class.php index 93d4312254..973ddcba3c 100644 --- a/pandora_console/include/class/Networkmap.class.php +++ b/pandora_console/include/class/Networkmap.class.php @@ -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; }