Repo-RPM
view release on metacpan or search on metacpan
lib/Repo/html/requires_tree_html.template view on Meta::CPAN
.attr("width", width + margin.right + margin.left)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
var div = d3.select(document.getElementById( 'front_wrapper' )).append("div")
.attr("class", "tree-tooltip")
.style("opacity", 0);
d3.json("@JSON_DATA_FILE@", function(error, requires) {
root = requires;
root.x0 = height / 2;
root.y0 = 0;
function collapse(d) {
if (d.children) {
d._children = d.children;
d._children.forEach(collapse);
d.children = null;
}
}
( run in 0.497 second using v1.01-cache-2.11-cpan-0d8aa00de5b )