d3-process-map icon indicating copy to clipboard operation
d3-process-map copied to clipboard

Update object layout when browser window is resized

Open nylen opened this issue 10 years ago • 0 comments

Something like this maybe:

 $(window).on('resize', function() {
    var graphWidth, graphHeight;
    // compute graphWidth, graphHeight
    graph.force.size([graphWidth, graphHeight]);
    graph.force.start();
});

nylen avatar Jul 03 '15 17:07 nylen