New networkmaps in progress... (Added node sep and rank sep temp controller)

This commit is contained in:
Arturo Gonzalez 2016-10-07 12:26:17 +02:00
parent af5cf6b98e
commit b20ecce66a
3 changed files with 3 additions and 2 deletions

View File

@ -1467,8 +1467,10 @@ function networkmap_open_graph ($layout, $nooverlap, $pure, $zoom,
$head .= "outputorder=edgesfirst;";
}
$head .= "ranksep=0.05;";
$head .= "ratio=fill;";
$head .= "root=0;";
$head .= "nodesep=0.5;";
$head .= "size=\"$size\";";
$head .= "\n";

View File

@ -69,7 +69,7 @@ function networkmap_process_networkmap($id = 0) {
$font_size = 12;
$nooverlap = false;
$zoom = 1;
$ranksep = 2.5;
$ranksep = 0.5;
$center = 0;
$regen = 1;
$show_snmp_modules = false;

View File

@ -900,7 +900,6 @@ function function_close_minimap() {
function delete_nodes() {
if (enterprise_installed) {
var selection = d3.selectAll('.node_selected');
selection
.each(function(d) {
//Avoid to delete pandora node center