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 .= "ranksep=0.05;";
|
||||
$head .= "ratio=fill;";
|
||||
$head .= "root=0;";
|
||||
$head .= "nodesep=0.5;";
|
||||
$head .= "nodesep=\"0.5\";";
|
||||
$head .= "size=\"$size\";";
|
||||
|
||||
$head .= "\n";
|
||||
|
|
|
@ -1334,7 +1334,14 @@ function show_menu(item, data) {
|
|||
}
|
||||
},
|
||||
"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…
Reference in New Issue