"; $filter = array(); if (!empty($group)) $filter['group'] = $group; if (!empty($module_group)) $filter['module_group'] = $module_group; echo graph_monitor_wheel($width, $height, $filter, $strict_user); echo ""; return; } $networkmap = db_get_row('tmap', 'id', $id); switch ($networkmap['generation_method']) { case 0: $layout = "circular"; break; case 1: $layout = "flat"; break; case 2: $layout = "radial"; break; case 3: $layout = "neato"; break; case 4: $layout = "spring1"; break; case 5: $layout = "spring2"; break; } // Set filter $filter = networkmap_get_filter ($layout); if (!isset($text_filter)) { $text_filter = ''; } // Generate dot file $graph = networkmap_generate_hash(__('Pandora FMS'), $group, $simple, $font_size, $layout, $nooverlap, $zoom, $ranksep, $center, $regen, $pure, $id, $show_snmp_modules, true, true, $text_filter, $strict_user); networkmap_print_jsdata($graph); $zoom_default = file($config['homedir'] . '/images/zoom_default.svg'); ?>
'; echo ''; ?>