mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
New networkmaps in progress... (Added parameter to node distances)
This commit is contained in:
parent
b20ecce66a
commit
969c80ee87
@ -1467,10 +1467,9 @@ 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 .= "nodesep=\"0.5\";";
|
||||||
$head .= "size=\"$size\";";
|
$head .= "size=\"$size\";";
|
||||||
|
|
||||||
$head .= "\n";
|
$head .= "\n";
|
||||||
|
@ -1334,7 +1334,14 @@ function show_menu(item, data) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"callback": function(key, options) {
|
"callback": function(key, options) {
|
||||||
set_parent(data);
|
var selection = d3.selectAll('.node_selected');
|
||||||
|
selection = selection[0];
|
||||||
|
if (selection.length > 1) {
|
||||||
|
alert("Yo no tengo dedo, por eso no poido trabajo");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
set_parent(data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user