New networkmaps in progress... (Added node sep and rank sep temp controller)
This commit is contained in:
parent
af5cf6b98e
commit
b20ecce66a
|
@ -1467,8 +1467,10 @@ function networkmap_open_graph ($layout, $nooverlap, $pure, $zoom,
|
||||||
$head .= "outputorder=edgesfirst;";
|
$head .= "outputorder=edgesfirst;";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$head .= "ranksep=0.05;";
|
||||||
$head .= "ratio=fill;";
|
$head .= "ratio=fill;";
|
||||||
$head .= "root=0;";
|
$head .= "root=0;";
|
||||||
|
$head .= "nodesep=0.5;";
|
||||||
$head .= "size=\"$size\";";
|
$head .= "size=\"$size\";";
|
||||||
|
|
||||||
$head .= "\n";
|
$head .= "\n";
|
||||||
|
|
|
@ -69,7 +69,7 @@ function networkmap_process_networkmap($id = 0) {
|
||||||
$font_size = 12;
|
$font_size = 12;
|
||||||
$nooverlap = false;
|
$nooverlap = false;
|
||||||
$zoom = 1;
|
$zoom = 1;
|
||||||
$ranksep = 2.5;
|
$ranksep = 0.5;
|
||||||
$center = 0;
|
$center = 0;
|
||||||
$regen = 1;
|
$regen = 1;
|
||||||
$show_snmp_modules = false;
|
$show_snmp_modules = false;
|
||||||
|
|
|
@ -900,7 +900,6 @@ function function_close_minimap() {
|
||||||
function delete_nodes() {
|
function delete_nodes() {
|
||||||
if (enterprise_installed) {
|
if (enterprise_installed) {
|
||||||
var selection = d3.selectAll('.node_selected');
|
var selection = d3.selectAll('.node_selected');
|
||||||
|
|
||||||
selection
|
selection
|
||||||
.each(function(d) {
|
.each(function(d) {
|
||||||
//Avoid to delete pandora node center
|
//Avoid to delete pandora node center
|
||||||
|
|
Loading…
Reference in New Issue