diff --git a/pandora_console/include/class/NetworkMap.class.php b/pandora_console/include/class/NetworkMap.class.php index 146e4d999f..d5e9056be5 100644 --- a/pandora_console/include/class/NetworkMap.class.php +++ b/pandora_console/include/class/NetworkMap.class.php @@ -1684,7 +1684,12 @@ class NetworkMap $node[$k] = $v; } - $node['style']['label'] = $node['label']; + if (!empty($node['text'])) { + $node['style']['label'] = $node['text']; + } else { + $node['style']['label'] = $node['name']; + } + $node['style']['shape'] = 'circle'; if (isset($source_data['color'])) { $item['color'] = $source_data['color'];