From 58eeffd04d1b0e2407ec023fdfe65f8fcf9d414e Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Mon, 13 Apr 2020 18:28:56 +0200 Subject: [PATCH] clearer maps --- .../godmode/wizards/DiscoveryTaskList.class.php | 12 +++++++++--- .../operation/agentes/pandora_networkmap.editor.php | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index bed5969f07..840e25ce26 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -1201,9 +1201,15 @@ class DiscoveryTaskList extends HTML $map = new NetworkMap( [ - 'id_task' => $id_task, - 'pure' => 1, - 'widget' => true, + 'id_task' => $id_task, + 'pure' => 1, + 'widget' => true, + 'map_options' => [ + 'map_filter' => [ + 'x_offs' => 120, + 'node_sep' => 10, + ], + ], ] ); $map->printMap(); diff --git a/pandora_console/operation/agentes/pandora_networkmap.editor.php b/pandora_console/operation/agentes/pandora_networkmap.editor.php index d719df08cd..16a26257ac 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.editor.php +++ b/pandora_console/operation/agentes/pandora_networkmap.editor.php @@ -57,10 +57,10 @@ if ($new_networkmap) { $offset_x = ''; $offset_y = ''; $scale_z = 0.5; - $node_sep = 0.1; + $node_sep = 10; $rank_sep = 1.0; $mindist = 1.0; - $kval = 0.1; + $kval = 5; } $disabled_generation_method_select = false;